diff options
author | feildmaster <admin@feildmaster.com> | 2012-03-31 18:59:14 -0500 |
---|---|---|
committer | feildmaster <admin@feildmaster.com> | 2012-03-31 19:21:29 -0500 |
commit | c8d4a7c835777d3c9a002444a1a43286067cb8a5 (patch) | |
tree | 912a63c623b71b870345cc8df8c93f2a7cacfcd2 | |
parent | fdab1db7c51c598b9d640a108359687c4e8929c7 (diff) | |
download | craftbukkit-c8d4a7c835777d3c9a002444a1a43286067cb8a5.tar craftbukkit-c8d4a7c835777d3c9a002444a1a43286067cb8a5.tar.gz craftbukkit-c8d4a7c835777d3c9a002444a1a43286067cb8a5.tar.lz craftbukkit-c8d4a7c835777d3c9a002444a1a43286067cb8a5.tar.xz craftbukkit-c8d4a7c835777d3c9a002444a1a43286067cb8a5.zip |
Fixed breaking at world height in creative. Fixes BUKKIT-997
-rw-r--r-- | src/main/java/org/bukkit/craftbukkit/event/CraftEventFactory.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/bukkit/craftbukkit/event/CraftEventFactory.java b/src/main/java/org/bukkit/craftbukkit/event/CraftEventFactory.java index df942185..916a90f9 100644 --- a/src/main/java/org/bukkit/craftbukkit/event/CraftEventFactory.java +++ b/src/main/java/org/bukkit/craftbukkit/event/CraftEventFactory.java @@ -155,7 +155,7 @@ public class CraftEventFactory { Block blockClicked = craftWorld.getBlockAt(clickedX, clickedY, clickedZ); BlockFace blockFace = CraftBlock.notchToBlockFace(clickedFace); - if (clickedY == 255) { + if (clickedY > 255) { blockClicked = null; switch (action) { case LEFT_CLICK_BLOCK: |