diff --git a/common/src/main/java/us/myles/ViaVersion/protocols/protocol1_11to1_10/ItemRewriter.java b/common/src/main/java/us/myles/ViaVersion/protocols/protocol1_11to1_10/ItemRewriter.java index 7239d4873..f55cc9ec5 100644 --- a/common/src/main/java/us/myles/ViaVersion/protocols/protocol1_11to1_10/ItemRewriter.java +++ b/common/src/main/java/us/myles/ViaVersion/protocols/protocol1_11to1_10/ItemRewriter.java @@ -97,7 +97,7 @@ public class ItemRewriter { } } } - if (item.getAmount() <= 0) item.setAmount((byte) 1); + if (item != null && item.getAmount() <= 0) item.setAmount((byte) 1); } public static void toServer(Item item) {