Fixed breaking at world height in creative. Fixes BUKKIT-997
By: feildmaster <admin@feildmaster.com>
This commit is contained in:
parent
bd3ae06ade
commit
6ab777a338
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue