From 920ccdb1a1ef0adeae5467abb74352013385a7ad Mon Sep 17 00:00:00 2001 From: rtm516 Date: Thu, 14 May 2020 01:42:44 +0100 Subject: [PATCH] Added shulker box UpdatedTileType to prevent errors on older versions --- .../java/com/github/steveice10/mc/protocol/data/MagicValues.java | 1 + .../mc/protocol/data/game/world/block/UpdatedTileType.java | 1 + 2 files changed, 2 insertions(+) diff --git a/src/main/java/com/github/steveice10/mc/protocol/data/MagicValues.java b/src/main/java/com/github/steveice10/mc/protocol/data/MagicValues.java index f27eb638..2f245552 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/data/MagicValues.java +++ b/src/main/java/com/github/steveice10/mc/protocol/data/MagicValues.java @@ -688,6 +688,7 @@ public class MagicValues { register(UpdatedTileType.STRUCTURE_BLOCK, 7); register(UpdatedTileType.END_GATEWAY, 8); register(UpdatedTileType.SIGN, 9); + register(UpdatedTileType.SHULKER_BOX, 10); register(UpdatedTileType.BED, 11); register(UpdatedTileType.JIGSAW_BLOCK, 12); register(UpdatedTileType.CAMPFIRE, 13); diff --git a/src/main/java/com/github/steveice10/mc/protocol/data/game/world/block/UpdatedTileType.java b/src/main/java/com/github/steveice10/mc/protocol/data/game/world/block/UpdatedTileType.java index 50e5989e..184a68d1 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/data/game/world/block/UpdatedTileType.java +++ b/src/main/java/com/github/steveice10/mc/protocol/data/game/world/block/UpdatedTileType.java @@ -10,6 +10,7 @@ public enum UpdatedTileType { STRUCTURE_BLOCK, END_GATEWAY, SIGN, + SHULKER_BOX, BED, JIGSAW_BLOCK, CAMPFIRE,