Fixed breaking at world height in creative. Fixes BUKKIT-997

Dieser Commit ist enthalten in:
feildmaster 2012-03-31 18:59:14 -05:00
Ursprung fdab1db7c5
Commit c8d4a7c835

Datei anzeigen

@ -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: