can't load hasmap of blocks[] on yml

Discussion in 'Plugin Development' started by shafiahaz2478, Dec 26, 2020.

Thread Status:
Not open for further replies.
  1. Offline

    shafiahaz2478

    Hi,
    I can't load the hashmap of Block[] on yml. it got saved with no problem but when it tries to load I get this error

    org.yaml.snakeyaml.constructor.ConstructorException: could not determine a constructor for the tag tag:yaml.org,2002:eek:rg.bukkit.craftbukkit.v1_16_R3.block.CraftBlock
    in 'string', line 4, column 5:
    - !!org.bukkit.craftbukkit.v1_16_R ...
    ^
     
  2. Offline

    timtower Administrator Administrator Moderator

  3. Offline

    shafiahaz2478

    its dispenser which is set to the world. I am using hashmaps to save more than 2 dispensers and it will launch fireworks but I want to save those dispensers permanently so I don't want to set those dispensers again and again when server restarts
     
  4. Offline

    xelatercero

    Why they would disappear?
     
Thread Status:
Not open for further replies.

Share This Page