Added onBlockCanBuild to loader

By: durron597 <martin.jared@gmail.com>
This commit is contained in:
Bukkit/Spigot
2011-01-01 01:55:04 -05:00
parent b5cbcfbcdb
commit 29cb3a3a79
2 changed files with 8 additions and 3 deletions

View File

@@ -35,7 +35,7 @@ public class SampleBlockListener extends BlockListener {
Block block = event.getBlock();
if (block.getType() == 81) {
event.setCancelled(true);
event.setCancelled(false);
}
}
}