From c46750a39603e2672d29f020be0ca3a6cd182831 Mon Sep 17 00:00:00 2001 From: Final Child Date: Sun, 19 Jun 2016 21:48:30 +0900 Subject: [PATCH] Add BlockFace.SPECIAL --- src/main/java/org/spacehq/mc/protocol/data/MagicValues.java | 1 + .../spacehq/mc/protocol/data/game/world/block/BlockFace.java | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/java/org/spacehq/mc/protocol/data/MagicValues.java b/src/main/java/org/spacehq/mc/protocol/data/MagicValues.java index 0f1e9ce9..f9e4b8fe 100644 --- a/src/main/java/org/spacehq/mc/protocol/data/MagicValues.java +++ b/src/main/java/org/spacehq/mc/protocol/data/MagicValues.java @@ -786,6 +786,7 @@ public class MagicValues { register(BlockFace.SOUTH, 3); register(BlockFace.WEST, 4); register(BlockFace.EAST, 5); + register(BlockFace.SPECIAL, 255); register(EquipmentSlot.MAIN_HAND, 0); register(EquipmentSlot.OFF_HAND, 1); diff --git a/src/main/java/org/spacehq/mc/protocol/data/game/world/block/BlockFace.java b/src/main/java/org/spacehq/mc/protocol/data/game/world/block/BlockFace.java index fc9e7b61..4f3996c3 100644 --- a/src/main/java/org/spacehq/mc/protocol/data/game/world/block/BlockFace.java +++ b/src/main/java/org/spacehq/mc/protocol/data/game/world/block/BlockFace.java @@ -6,5 +6,6 @@ public enum BlockFace { NORTH, SOUTH, WEST, - EAST; + EAST, + SPECIAL; }