mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-27 21:19:00 +01:00
Fixed breaking at world height in creative. Fixes BUKKIT-997
This commit is contained in:
parent
fdab1db7c5
commit
c8d4a7c835
@ -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…
Reference in New Issue
Block a user