Skip to content

Commit

Permalink
fix player breaks block
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmonkey4eva committed Jun 12, 2020
1 parent 2d4bec2 commit 66647e4
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -55,7 +55,7 @@ public boolean couldMatch(ScriptPath path) {
if (!path.eventLower.startsWith("player places")) {
return false;
}
if (!couldMatchItem(path.eventArgLowerAt(2))) {
if (!couldMatchItem(path.eventArgLowerAt(2)) && !couldMatchBlock(path.eventArgLowerAt(2))) {
return false;
}
return true;
Expand Down

0 comments on commit 66647e4

Please sign in to comment.