BG-Software-LLC / WildStacker

Stacked drops, stacked entities, stacked blocks and stacked spawners in one plugin!
https://bg-software.com/wildstacker/
GNU General Public License v3.0
92 stars 38 forks source link

Config value do not work #375

Closed Ammorack closed 2 years ago

Ammorack commented 2 years ago

Minecraft's Version

1.16.5 - PurpurSpigot

Plugin's Version

WildStacker-3.6.1-b234.jar
Latest build from Jenkins Link to Plugin

Describe the bug

Config part.

  explosions:
    # Should spawners get dropped when exploded by TNT or Creepers?
    enabled: true

    # Should the spawner item go straight into the player's inventory instead of dropping on ground?
    drop-to-inventory: false

Drop-to-inventory variable is not working, it will drop spawners in inventory with both states - [TRUE / FALSE]

To Reproduce

Change value to false - reload config - go ingame and blow spawner up. Drop-to-inventory: false

Additional Information

image image image image

======================================== Images with code are from guy, who answered to me in BG discord (ItchyDitchy#8435)

OmerBenGera commented 2 years ago

Should be fixed in latest build, let me know if it works for you

Ammorack commented 2 years ago

All works, on True spawner jumps in inventory and with False it doesn't.

Thanks