adeynes / cucumber

Moderation plugin for PocketMine-MP
GNU General Public License v2.0
29 stars 11 forks source link

Unbind parsecmd on disable #31

Open IvanCraft623 opened 4 years ago

IvanCraft623 commented 4 years ago

When i reload the server it stops working

adeynes commented 4 years ago

When you run /reload? What does it say?

IvanCraft623 commented 4 years ago

Yes, when I run the reload command.

Says:

[Server thread/CRITICAL]: cucumber has already instantiated parsecmd!

IvanCraft623 commented 4 years ago

and if I try to execute any command of the plugin it tells me that the command does not exist.

adeynes commented 4 years ago

Ah yeah that makes sense. /reload shouldn't really be used anyways, it breaks a lot of things. I'll fix this whenever I get working on the plugin again, hadn't thought of needing to "unbind" virions when the plugin gets disabled. Thanks