Skip to content
This repository has been archived by the owner on Feb 15, 2024. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #4 from peterarenot911/patch-3
Fixed == false method
  • Loading branch information
choel committed May 16, 2012
2 parents c992a59 + 1b60ef0 commit 566369f
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -126,7 +126,7 @@ public void onBlockBreak(BlockBreakEvent event) {
}
}
if(SpawnerAdjuster.permCheck(event.getPlayer(), "SpawnerAdjuster.DropSpawners") && SpawnerAdjuster.allowDroppedSpawners) {
if(event.isCancelled() == false) {
if(!event.isCancelled()) {
short asdf = 1;
ItemStack spawnerstack = new ItemStack(event.getBlock().getType(), 1, asdf, event.getBlock().getData());
event.getBlock().getLocation().getWorld().dropItemNaturally(event.getBlock().getLocation(), spawnerstack);
Expand Down

0 comments on commit 566369f

Please sign in to comment.