diff options
author | Erik Broes <erikbroes@grum.nl> | 2011-01-15 21:26:05 +0100 |
---|---|---|
committer | Erik Broes <erikbroes@grum.nl> | 2011-01-15 21:26:52 +0100 |
commit | 8c8f53fd44de8f4d471131abf931cf372f820bce (patch) | |
tree | a1a0515b2ccb3e3352ede4ebb16867686cfb3504 /src/main/java/net/minecraft/server/ItemBlock.java | |
parent | 2184d240db052d3679b47565c7e9c2cc5566b433 (diff) | |
download | craftbukkit-8c8f53fd44de8f4d471131abf931cf372f820bce.tar craftbukkit-8c8f53fd44de8f4d471131abf931cf372f820bce.tar.gz craftbukkit-8c8f53fd44de8f4d471131abf931cf372f820bce.tar.lz craftbukkit-8c8f53fd44de8f4d471131abf931cf372f820bce.tar.xz craftbukkit-8c8f53fd44de8f4d471131abf931cf372f820bce.zip |
Events should be present tense, not paste tense.
Diffstat (limited to 'src/main/java/net/minecraft/server/ItemBlock.java')
-rw-r--r-- | src/main/java/net/minecraft/server/ItemBlock.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/net/minecraft/server/ItemBlock.java b/src/main/java/net/minecraft/server/ItemBlock.java index 9a08c2da..7fa63808 100644 --- a/src/main/java/net/minecraft/server/ItemBlock.java +++ b/src/main/java/net/minecraft/server/ItemBlock.java @@ -6,7 +6,7 @@ import org.bukkit.craftbukkit.CraftBlock; import org.bukkit.craftbukkit.CraftItemStack; import org.bukkit.craftbukkit.CraftPlayer; import org.bukkit.event.Event.Type; -import org.bukkit.event.block.BlockPlacedEvent; +import org.bukkit.event.block.BlockPlaceEvent; // CraftBukkit end public class ItemBlock extends Item { @@ -81,7 +81,7 @@ public class ItemBlock extends Item { // CraftBukkit hardcoded Spawn distance for now boolean canBuild = distanceFromSpawn > 16 || thePlayer.isOp(); - BlockPlacedEvent bpe = new BlockPlacedEvent(Type.BLOCK_PLACED, placedBlock, blockClicked, itemInHand, thePlayer, canBuild); + BlockPlaceEvent bpe = new BlockPlaceEvent(Type.BLOCK_PLACED, placedBlock, blockClicked, itemInHand, thePlayer, canBuild); ((WorldServer) world).getServer().getPluginManager().callEvent(bpe); if (bpe.isCancelled() || !bpe.canBuild()) { |