Skip to content

Commit

Permalink
'plant grows' event fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmonkey4eva committed Jun 18, 2020
1 parent f7b27c2 commit 8e76e5d
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -58,7 +58,7 @@ public boolean couldMatch(ScriptPath path) {
}
String block = path.eventArgLowerAt(0);
MaterialTag mat = MaterialTag.valueOf(block, CoreUtilities.basicContext);
return block.equals("structure") || (mat != null && mat.isStructure());
return block.equals("structure") || block.equals("plant") || (mat != null && mat.isStructure());
}

@Override
Expand Down

0 comments on commit 8e76e5d

Please sign in to comment.