Guarmanda / LootChest

Plugin to reload chest with hologram, particles, and editing menu
GNU General Public License v3.0
10 stars 21 forks source link

Fix despawnall command not recognizing argument as world #69

Closed Nalfein16 closed 3 weeks ago

Nalfein16 commented 2 months ago

When using the command /lc despawnall <world>, the plugin would think the world name was a chest and so wouldn't continue execution. Now, it properly accepts a world name as an argument.

I haven't been able to test this change because I don't have the time right now to set up a Java build environment... but reading through the rest of the file, I would guess that this works alright.