Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-11-17 05:20:05 +01:00
Fixed breaking at world height in creative. Fixes BUKKIT-997
Dieser Commit ist enthalten in:
Ursprung
fdab1db7c5
Commit
c8d4a7c835
@ -155,7 +155,7 @@ public class CraftEventFactory {
|
|||||||
Block blockClicked = craftWorld.getBlockAt(clickedX, clickedY, clickedZ);
|
Block blockClicked = craftWorld.getBlockAt(clickedX, clickedY, clickedZ);
|
||||||
BlockFace blockFace = CraftBlock.notchToBlockFace(clickedFace);
|
BlockFace blockFace = CraftBlock.notchToBlockFace(clickedFace);
|
||||||
|
|
||||||
if (clickedY == 255) {
|
if (clickedY > 255) {
|
||||||
blockClicked = null;
|
blockClicked = null;
|
||||||
switch (action) {
|
switch (action) {
|
||||||
case LEFT_CLICK_BLOCK:
|
case LEFT_CLICK_BLOCK:
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren