Remove debug commands
This commit is contained in:
parent
c4cb5d8db4
commit
28bbda23f5
@ -1495,16 +1495,6 @@ public abstract class Skywars extends Game
|
|||||||
return 12;
|
return 12;
|
||||||
}
|
}
|
||||||
|
|
||||||
@EventHandler
|
|
||||||
public void onCommand(PlayerCommandPreprocessEvent event)
|
|
||||||
{
|
|
||||||
if (event.getMessage().startsWith("/crumble"))
|
|
||||||
{
|
|
||||||
event.setCancelled(true);
|
|
||||||
_crumbleTime = 1000;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public TNTGenerator getTnTGen()
|
public TNTGenerator getTnTGen()
|
||||||
{
|
{
|
||||||
return this._tntGen;
|
return this._tntGen;
|
||||||
|
Loading…
Reference in New Issue
Block a user