From c9d57aab8d17314152e065a97cd3fb6a0aec3584 Mon Sep 17 00:00:00 2001 From: EnZaXD Date: Sun, 14 Jul 2024 10:10:03 +0200 Subject: [PATCH] Fix possible NPE in 1.17->1.16.4 bedrock at 0 emulation (#821) --- .../rewriter/BlockItemPacketRewriter1_17.java | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/common/src/main/java/com/viaversion/viabackwards/protocol/v1_17to1_16_4/rewriter/BlockItemPacketRewriter1_17.java b/common/src/main/java/com/viaversion/viabackwards/protocol/v1_17to1_16_4/rewriter/BlockItemPacketRewriter1_17.java index bf75a32c..eee094a4 100644 --- a/common/src/main/java/com/viaversion/viabackwards/protocol/v1_17to1_16_4/rewriter/BlockItemPacketRewriter1_17.java +++ b/common/src/main/java/com/viaversion/viabackwards/protocol/v1_17to1_16_4/rewriter/BlockItemPacketRewriter1_17.java @@ -364,10 +364,12 @@ public final class BlockItemPacketRewriter1_17 extends BackwardsItemRewriter