From 58256b5b64b51531793cd648f175ca2e1fe7d078 Mon Sep 17 00:00:00 2001 From: KennyTV Date: Wed, 22 Jul 2020 21:53:35 +0200 Subject: [PATCH] *moonwalks out* --- .../protocol1_16_1to1_16_2/packets/EntityPackets1_16_2.java | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/core/src/main/java/nl/matsv/viabackwards/protocol/protocol1_16_1to1_16_2/packets/EntityPackets1_16_2.java b/core/src/main/java/nl/matsv/viabackwards/protocol/protocol1_16_1to1_16_2/packets/EntityPackets1_16_2.java index 028ab722..31ed5de0 100644 --- a/core/src/main/java/nl/matsv/viabackwards/protocol/protocol1_16_1to1_16_2/packets/EntityPackets1_16_2.java +++ b/core/src/main/java/nl/matsv/viabackwards/protocol/protocol1_16_1to1_16_2/packets/EntityPackets1_16_2.java @@ -16,9 +16,6 @@ import us.myles.ViaVersion.protocols.protocol1_16_2to1_16_1.ClientboundPackets1_ import us.myles.ViaVersion.protocols.protocol1_16to1_15_2.packets.EntityPackets; import us.myles.ViaVersion.protocols.protocol1_9_3to1_9_1_2.storage.ClientWorld; import us.myles.viaversion.libs.gson.JsonElement; -import us.myles.viaversion.libs.opennbt.NBTIO; - -import java.io.File; public class EntityPackets1_16_2 extends EntityRewriter { @@ -52,7 +49,7 @@ public class EntityPackets1_16_2 extends EntityRewriter map(Type.STRING_ARRAY); // World List handler(wrapper -> { // Just screw the registry and write the defaults for 1.16 and 1.16.1 clients - NBTIO.writeFile(wrapper.read(Type.NBT), new File("oo.jbt")); + wrapper.read(Type.NBT); wrapper.write(Type.NBT, EntityPackets.DIMENSIONS_TAG); }); map(Type.STRING); // Dimension Type