Fixed an issue where fire spread cancellation changed the behavior of natural fire.
This commit is contained in:
parent
0daa2420da
commit
8fdd45ab40
@ -99,7 +99,7 @@ public class BlockFire extends Block {
|
|||||||
BlockIgniteEvent event = new BlockIgniteEvent(theBlock, igniteCause, thePlayer);
|
BlockIgniteEvent event = new BlockIgniteEvent(theBlock, igniteCause, thePlayer);
|
||||||
server.getPluginManager().callEvent(event);
|
server.getPluginManager().callEvent(event);
|
||||||
if (event.isCancelled()) {
|
if (event.isCancelled()) {
|
||||||
return;
|
continue;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// CraftBukkit end
|
// CraftBukkit end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user