From 42167394e0915dfe3bf1a76e7353c24c610f115f Mon Sep 17 00:00:00 2001 From: KennyTV Date: Sat, 11 Jul 2020 22:26:54 +0200 Subject: [PATCH] Make 1.16 default registry public --- .../protocols/protocol1_16_2to1_16_1/data/MappingData.java | 2 +- .../protocols/protocol1_16to1_15_2/packets/EntityPackets.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/common/src/main/java/us/myles/ViaVersion/protocols/protocol1_16_2to1_16_1/data/MappingData.java b/common/src/main/java/us/myles/ViaVersion/protocols/protocol1_16_2to1_16_1/data/MappingData.java index 9dc33b03e..4b1c3e695 100644 --- a/common/src/main/java/us/myles/ViaVersion/protocols/protocol1_16_2to1_16_1/data/MappingData.java +++ b/common/src/main/java/us/myles/ViaVersion/protocols/protocol1_16_2to1_16_1/data/MappingData.java @@ -25,7 +25,7 @@ public class MappingData { try { dimensionRegistry = BinaryTagIO.readCompressedInputStream(MappingDataLoader.getResource("dimension-registry-1.16.2.nbt")); } catch (IOException e) { - Via.getPlatform().getLogger().severe("Error loading dimenstion registry:"); + Via.getPlatform().getLogger().severe("Error loading dimension registry:"); e.printStackTrace(); } diff --git a/common/src/main/java/us/myles/ViaVersion/protocols/protocol1_16to1_15_2/packets/EntityPackets.java b/common/src/main/java/us/myles/ViaVersion/protocols/protocol1_16to1_15_2/packets/EntityPackets.java index a02d67118..c08bd3e27 100644 --- a/common/src/main/java/us/myles/ViaVersion/protocols/protocol1_16to1_15_2/packets/EntityPackets.java +++ b/common/src/main/java/us/myles/ViaVersion/protocols/protocol1_16to1_15_2/packets/EntityPackets.java @@ -46,7 +46,7 @@ public class EntityPackets { wrapper.write(Type.STRING, dimensionName); // dimension type wrapper.write(Type.STRING, dimensionName); // dimension }; - private static final CompoundTag DIMENSIONS_TAG = new CompoundTag(""); + public static final CompoundTag DIMENSIONS_TAG = new CompoundTag(""); private static final String[] WORLD_NAMES = {"minecraft:overworld", "minecraft:the_nether", "minecraft:the_end"}; static {