Skip to content

Commit

Permalink
Fix the while command
Browse files Browse the repository at this point in the history
How did this even...
  • Loading branch information
mcmonkey4eva committed Dec 21, 2014
1 parent 4b88ea0 commit cfb7d1b
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -60,7 +60,7 @@ else if (!scriptEntry.hasObject("callback")
}

else if (!scriptEntry.hasObject("value")) {
scriptEntry.addObject("value", new Element(original.raw_value).setPrefix("comparison_value"));
scriptEntry.addObject("value", new Element(original.raw_value));
break;
}

Expand Down Expand Up @@ -198,7 +198,7 @@ else if (callback != null && callback.asBoolean()) {
// Report to dB
dB.report(scriptEntry, getName(), value.debug());

if (TagManager.tag(value.asString(), new BukkitTagContext(scriptEntry, false)).equalsIgnoreCase("true")) {
if (!TagManager.tag(value.asString(), new BukkitTagContext(scriptEntry, false)).equalsIgnoreCase("true")) {
return;
}

Expand Down

0 comments on commit cfb7d1b

Please sign in to comment.