Updated fireball item blocking

This commit is contained in:
Alexander 2012-08-04 22:31:41 +07:00 committed by TomyLobo
parent e10ed6ac7a
commit 19be2bf96e

View File

@ -333,7 +333,7 @@ public void onBlockIgnite(BlockIgniteEvent event) {
if (player != null && !plugin.getGlobalRegionManager().hasBypass(player, world)) {
LocalPlayer localPlayer = plugin.wrapPlayer(player);
if (cause == IgniteCause.FLINT_AND_STEEL) {
if (cause == IgniteCause.FLINT_AND_STEEL || cause == IgniteCause.FIREBALL) {
if (!set.canBuild(localPlayer)) {
event.setCancelled(true);
return;