Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmonkey4eva committed May 12, 2017
1 parent 9bbfae9 commit 10d8a05
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public PlayerPicksUpScriptEvent() {
@Override
public boolean couldMatch(ScriptContainer scriptContainer, String s) {
String lower = CoreUtilities.toLowerCase(s);
if (CoreUtilities.xthArgEquals(4, lower, "from")) {
if (CoreUtilities.xthArgEquals(3, lower, "from")) {
return false;
}
return lower.startsWith("player picks up") || lower.startsWith("player takes");
Expand Down

0 comments on commit 10d8a05

Please sign in to comment.