Skip to content

Commit

Permalink
Oops, forgot a line!
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmonkey4eva committed Aug 11, 2013
1 parent 1be2901 commit 2e97885
Showing 1 changed file with 3 additions and 3 deletions.
Expand Up @@ -52,9 +52,9 @@ else if (arg.matches("GLOBAL, SERVER")
scriptEntry.addObject("mcentity", Element.valueOf("null"));
}

else if ((arg.matchesPrefix("entity")|| arg.matchesPrefix("player"))
&& !scriptEntry.hasObject("entity"))
scriptEntry.addObject("mcentity", arg.asElement());
else if ((arg.matchesPrefix("entity"))
&& !scriptEntry.hasObject("mcentity"))
scriptEntry.addObject("mcentity", new Element(arg.getValue()));

// Determine flagAction and set the flagName/flagValue
else if (arg.getPrefixAndValue().split(":", 3).length > 1) {
Expand Down

0 comments on commit 2e97885

Please sign in to comment.