Fixed fire spread hook providing the wrong block.

This commit is contained in:
sk89q 2011-01-28 11:39:18 -08:00
parent 61c37bd369
commit 0daa2420da

View file

@ -91,7 +91,7 @@ public class BlockFire extends Block {
Server server = ((WorldServer)world).getServer();
CraftWorld cworld = ((WorldServer)world).getWorld();
org.bukkit.block.Block theBlock = (cworld.getBlockAt(i1, j1, k1));
org.bukkit.block.Block theBlock = (cworld.getBlockAt(i1, k1, j1));
IgniteCause igniteCause = BlockIgniteEvent.IgniteCause.SPREAD;
Player thePlayer = null;