Guarmanda / LootChest

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

Fix despawnall command not recognizing argument as world #69

Closed Nalfein16 closed 2 months ago

Nalfein16 commented 4 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.