RedstonerServer / redstoner-utils

Redstoner's plugins, written in Python.
MIT License
7 stars 3 forks source link

Solidify imbusy blocking pms, tpas, etc. #42

Closed Dico200 closed 8 years ago

Dico200 commented 8 years ago

I used reflection to get the Map<String, Command> object from the SimpleCommandMap instance stored in the implementation of PluginManager. I replaced all Command instances in there that handle /msg, /tpa, /tpahere and /reply, minus /minecraft:tell, with a wrapper that checks if the target is busy. Tested adequately, but some more would be nice.