Only allow OPs to use minestrike debug commands

This commit is contained in:
cnr 2016-07-14 07:28:33 -05:00
parent 1d1c3ef1be
commit 1a2e0df6ca

View File

@ -1661,6 +1661,10 @@ public class GunModule implements Listener
@EventHandler
public void debug(PlayerCommandPreprocessEvent event)
{
if (!event.getPlayer().isOp())
{
return;
}
if (event.getMessage().contains("recoil"))
{