Make 1.16 default registry public

This commit is contained in:
KennyTV 2020-07-11 22:26:54 +02:00
parent 3ef1912267
commit 42167394e0
No known key found for this signature in database
GPG Key ID: 6BE3B555EBC5982B
2 changed files with 2 additions and 2 deletions

View File

@ -25,7 +25,7 @@ public class MappingData {
try { try {
dimensionRegistry = BinaryTagIO.readCompressedInputStream(MappingDataLoader.getResource("dimension-registry-1.16.2.nbt")); dimensionRegistry = BinaryTagIO.readCompressedInputStream(MappingDataLoader.getResource("dimension-registry-1.16.2.nbt"));
} catch (IOException e) { } catch (IOException e) {
Via.getPlatform().getLogger().severe("Error loading dimenstion registry:"); Via.getPlatform().getLogger().severe("Error loading dimension registry:");
e.printStackTrace(); e.printStackTrace();
} }

View File

@ -46,7 +46,7 @@ public class EntityPackets {
wrapper.write(Type.STRING, dimensionName); // dimension type wrapper.write(Type.STRING, dimensionName); // dimension type
wrapper.write(Type.STRING, dimensionName); // dimension 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"}; private static final String[] WORLD_NAMES = {"minecraft:overworld", "minecraft:the_nether", "minecraft:the_end"};
static { static {