From 91874ffc3b802dae09d79750f6cb41ff7d79120b Mon Sep 17 00:00:00 2001 From: KennyTV Date: Wed, 16 Jun 2021 13:58:49 +0200 Subject: [PATCH] More bandaid --- .../viabackwards/api/rewriters/LegacyBlockItemRewriter.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/common/src/main/java/com/viaversion/viabackwards/api/rewriters/LegacyBlockItemRewriter.java b/common/src/main/java/com/viaversion/viabackwards/api/rewriters/LegacyBlockItemRewriter.java index 58917ed5..89accd86 100644 --- a/common/src/main/java/com/viaversion/viabackwards/api/rewriters/LegacyBlockItemRewriter.java +++ b/common/src/main/java/com/viaversion/viabackwards/api/rewriters/LegacyBlockItemRewriter.java @@ -174,6 +174,8 @@ public abstract class LegacyBlockItemRewriter exten tags.put(pos, tag); // Handle given Block Entities + if (pos.getY() < 0) continue; // 1.17 + ChunkSection section = chunk.getSections()[pos.getY() >> 4]; if (section == null) continue;