Update block palette

This commit is contained in:
RednedEpic 2019-11-09 11:14:31 -06:00 committed by RednedEpic
parent 90e6ebc1be
commit 21ddf8af1e
3 changed files with 1 additions and 2 deletions

View file

@ -60,7 +60,6 @@ import org.geysermc.connector.network.session.cache.*;
import org.geysermc.connector.network.translators.Registry;
import org.geysermc.connector.network.translators.TranslatorsInit;
import org.geysermc.connector.utils.Toolbox;
import org.geysermc.connector.world.chunk.ChunkPosition;
import java.net.InetSocketAddress;
import java.util.UUID;

View file

@ -35,7 +35,7 @@ public class Toolbox {
Map<String, Integer> blockIdToIdentifier = new HashMap<>();
ListTag<CompoundTag> blocksTag;
NBTInputStream nbtInputStream = NbtUtils.createReader(stream);
NBTInputStream nbtInputStream = NbtUtils.createNetworkReader(stream);
try {
blocksTag = (ListTag<CompoundTag>) nbtInputStream.readTag();
nbtInputStream.close();