disabled treasure again!
This commit is contained in:
parent
054709a859
commit
e31ab1b37a
@ -391,8 +391,11 @@ public class TreasureManager extends MiniPlugin
|
|||||||
@EventHandler
|
@EventHandler
|
||||||
public void command(PlayerCommandPreprocessEvent event)
|
public void command(PlayerCommandPreprocessEvent event)
|
||||||
{
|
{
|
||||||
|
if (!event.getPlayer().isOp())
|
||||||
|
return;
|
||||||
|
|
||||||
//TODO Remove
|
//TODO Remove
|
||||||
if (event.getMessage().startsWith("/treasure"))
|
if (event.getMessage().startsWith("/treasuredebug"))
|
||||||
{
|
{
|
||||||
event.getPlayer().sendMessage("Attempting to open treasure...");
|
event.getPlayer().sendMessage("Attempting to open treasure...");
|
||||||
attemptOpenTreasure(event.getPlayer());
|
attemptOpenTreasure(event.getPlayer());
|
||||||
|
Loading…
Reference in New Issue
Block a user