Skip to content

Commit

Permalink
Fix takesfromfurnace misfircing by picks up item
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmonkey4eva committed May 12, 2017
1 parent 80f1940 commit 9bbfae9
Showing 1 changed file with 3 additions and 0 deletions.
Expand Up @@ -61,6 +61,9 @@ public PlayerPicksUpScriptEvent() {
@Override
public boolean couldMatch(ScriptContainer scriptContainer, String s) {
String lower = CoreUtilities.toLowerCase(s);
if (CoreUtilities.xthArgEquals(4, lower, "from")) {
return false;
}
return lower.startsWith("player picks up") || lower.startsWith("player takes");
}

Expand Down

0 comments on commit 9bbfae9

Please sign in to comment.