Skip to content

Commit

Permalink
fix blockcrack/blockdust issues, fixes #1875
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmonkey4eva committed Jan 7, 2019
1 parent b492396 commit 6d5b453
Showing 1 changed file with 3 additions and 1 deletion.
Expand Up @@ -74,7 +74,9 @@ public void parseArgs(ScriptEntry scriptEntry) throws InvalidArgumentsException
}
else if (!scriptEntry.hasObject("effect") &&
!scriptEntry.hasObject("particleeffect") &&
!scriptEntry.hasObject("iconcrack")) {
!scriptEntry.hasObject("iconcrack") &&
!scriptEntry.hasObject("blockcrack") &&
!scriptEntry.hasObject("blockdust")) {

if (particleHelper.hasParticle(arg.getValue())) {
scriptEntry.addObject("particleeffect", particleHelper.getParticle(arg.getValue()));
Expand Down

0 comments on commit 6d5b453

Please sign in to comment.