mirror of
https://github.com/GeyserMC/Geyser.git
synced 2024-12-23 15:00:37 +01:00
Update block palette
This commit is contained in:
parent
90e6ebc1be
commit
21ddf8af1e
3 changed files with 1 additions and 2 deletions
|
@ -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;
|
||||
|
|
|
@ -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();
|
||||
|
|
Binary file not shown.
Loading…
Reference in a new issue