Skip to content

Commit

Permalink
correct setfire and breakblocks params who was inverted
Browse files Browse the repository at this point in the history
  • Loading branch information
blankiito committed Jun 3, 2013
1 parent 449b26a commit 4bc7b99
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -65,7 +65,7 @@ public void execute(final ScriptEntry scriptEntry) throws CommandExecutionExcept
boolean breakblocks = (Boolean) scriptEntry.getObject("breakblocks");
boolean setFire = (Boolean) scriptEntry.getObject("setFire");

location.getWorld().createExplosion(location.getX(),location.getY(),location.getZ(), (Float) power,breakblocks,setFire);
location.getWorld().createExplosion(location.getX(),location.getY(),location.getZ(), (Float) power, setFire, breakblocks);

}

Expand Down

0 comments on commit 4bc7b99

Please sign in to comment.