Moved block stuff from org.bukkit to org.bukkit.block

This commit is contained in:
Dinnerbone
2011-01-15 21:36:57 +00:00
parent 7877229881
commit 0db8d5d111
16 changed files with 24 additions and 21 deletions

View File

@@ -39,8 +39,8 @@ public class BlockStationary extends BlockFluids {
// Craftbukkit start: prevent lava putting something on fire.
CraftServer server = ((WorldServer)world).getServer();
CraftWorld cworld = ((WorldServer)world).getWorld();
org.bukkit.Block bblock = (cworld.getBlockAt(k, l, i1));
BlockIgniteEvent event = new BlockIgniteEvent((org.bukkit.Block) bblock, BlockIgniteEvent.IgniteCause.LAVA, null);
org.bukkit.block.Block bblock = (cworld.getBlockAt(k, l, i1));
BlockIgniteEvent event = new BlockIgniteEvent((org.bukkit.block.Block) bblock, BlockIgniteEvent.IgniteCause.LAVA, null);
server.getPluginManager().callEvent(event);
if (event.isCancelled()) {
return;