diff options
author | Erik Broes <erikbroes@grum.nl> | 2011-05-14 16:29:42 +0200 |
---|---|---|
committer | Erik Broes <erikbroes@grum.nl> | 2011-05-15 13:41:46 +0200 |
commit | 309846d732849b68e382c53bf3a0d7a6dfd82579 (patch) | |
tree | 020932a024cd2fb20895f5834a2bde7dbdfea583 /src/main/java/net/minecraft/server/ItemPainting.java | |
parent | e54d8c33529b9495b9ca1a610dc2ff9fc5ac84b5 (diff) | |
download | craftbukkit-309846d732849b68e382c53bf3a0d7a6dfd82579.tar craftbukkit-309846d732849b68e382c53bf3a0d7a6dfd82579.tar.gz craftbukkit-309846d732849b68e382c53bf3a0d7a6dfd82579.tar.lz craftbukkit-309846d732849b68e382c53bf3a0d7a6dfd82579.tar.xz craftbukkit-309846d732849b68e382c53bf3a0d7a6dfd82579.zip |
Whitespace + general cleanup
Diffstat (limited to 'src/main/java/net/minecraft/server/ItemPainting.java')
-rw-r--r-- | src/main/java/net/minecraft/server/ItemPainting.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/net/minecraft/server/ItemPainting.java b/src/main/java/net/minecraft/server/ItemPainting.java index 087880a9..6dd8d483 100644 --- a/src/main/java/net/minecraft/server/ItemPainting.java +++ b/src/main/java/net/minecraft/server/ItemPainting.java @@ -53,6 +53,7 @@ public class ItemPainting extends Item { PaintingPlaceEvent event = new PaintingPlaceEvent(painting, who, blockClicked, blockFace); Bukkit.getServer().getPluginManager().callEvent(event); + if (event.isCancelled()) { return false; } |