disabled treasure again!

This commit is contained in:
Chiss 2014-09-13 16:44:51 +10:00
parent 054709a859
commit e31ab1b37a

View File

@ -391,8 +391,11 @@ public class TreasureManager extends MiniPlugin
@EventHandler
public void command(PlayerCommandPreprocessEvent event)
{
if (!event.getPlayer().isOp())
return;
//TODO Remove
if (event.getMessage().startsWith("/treasure"))
if (event.getMessage().startsWith("/treasuredebug"))
{
event.getPlayer().sendMessage("Attempting to open treasure...");
attemptOpenTreasure(event.getPlayer());