From 0ac29fb2c28acb69ef384c3d6c6f631952b6014a Mon Sep 17 00:00:00 2001 From: RK_01 <50594595+RaphiMC@users.noreply.github.com> Date: Sun, 3 Dec 2023 18:33:34 +0100 Subject: [PATCH] Return air instead of stone for unknown block ids (#3539) --- .../protocols/protocol1_13to1_12_2/packets/WorldPackets.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/src/main/java/com/viaversion/viaversion/protocols/protocol1_13to1_12_2/packets/WorldPackets.java b/common/src/main/java/com/viaversion/viaversion/protocols/protocol1_13to1_12_2/packets/WorldPackets.java index fea7c8b49..cc1279119 100644 --- a/common/src/main/java/com/viaversion/viaversion/protocols/protocol1_13to1_12_2/packets/WorldPackets.java +++ b/common/src/main/java/com/viaversion/viaversion/protocols/protocol1_13to1_12_2/packets/WorldPackets.java @@ -582,8 +582,8 @@ public class WorldPackets { if (!Via.getConfig().isSuppressConversionWarnings() || Via.getManager().isDebug()) { Via.getPlatform().getLogger().warning("Missing block completely " + oldId); } - // Default stone - return 1; + // Default air + return 0; } private static int checkStorage(UserConnection user, Position position, int newId) {