From e2fcac71e473d0fafe08666b9874da6175090a07 Mon Sep 17 00:00:00 2001 From: Mason Adkins Date: Mon, 29 Apr 2013 11:49:30 -0400 Subject: [PATCH] temp fix to cooldown command npe --- .../denizen/scripts/commands/core/CooldownCommand.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/main/java/net/aufdemrand/denizen/scripts/commands/core/CooldownCommand.java b/src/main/java/net/aufdemrand/denizen/scripts/commands/core/CooldownCommand.java index b9d1c65c2b..0d450909da 100644 --- a/src/main/java/net/aufdemrand/denizen/scripts/commands/core/CooldownCommand.java +++ b/src/main/java/net/aufdemrand/denizen/scripts/commands/core/CooldownCommand.java @@ -109,11 +109,11 @@ public void execute(ScriptEntry scriptEntry) throws CommandExecutionException { Type type = (Type) scriptEntry.getObject("type"); // Report to dB - dB.report(getName(), - aH.debugObj("Type", type.toString()) - + script.debug() - + (type == Type.PLAYER ? aH.debugObj("Player", scriptEntry.getPlayer().getName()) : "") - + duration.debug()); + //dB.report(getName(), + // aH.debugObj("Type", type.toString()) + // + script.debug() + // + (type == Type.PLAYER ? aH.debugObj("Player", scriptEntry.getPlayer().getName()) : "") + // + duration.debug()); // Perform cooldown if (type == Type.PLAYER)