mirror of
https://github.com/GeyserMC/Geyser.git
synced 2024-08-14 23:57:35 +00: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.Registry;
|
||||||
import org.geysermc.connector.network.translators.TranslatorsInit;
|
import org.geysermc.connector.network.translators.TranslatorsInit;
|
||||||
import org.geysermc.connector.utils.Toolbox;
|
import org.geysermc.connector.utils.Toolbox;
|
||||||
import org.geysermc.connector.world.chunk.ChunkPosition;
|
|
||||||
|
|
||||||
import java.net.InetSocketAddress;
|
import java.net.InetSocketAddress;
|
||||||
import java.util.UUID;
|
import java.util.UUID;
|
||||||
|
|
|
@ -35,7 +35,7 @@ public class Toolbox {
|
||||||
Map<String, Integer> blockIdToIdentifier = new HashMap<>();
|
Map<String, Integer> blockIdToIdentifier = new HashMap<>();
|
||||||
ListTag<CompoundTag> blocksTag;
|
ListTag<CompoundTag> blocksTag;
|
||||||
|
|
||||||
NBTInputStream nbtInputStream = NbtUtils.createReader(stream);
|
NBTInputStream nbtInputStream = NbtUtils.createNetworkReader(stream);
|
||||||
try {
|
try {
|
||||||
blocksTag = (ListTag<CompoundTag>) nbtInputStream.readTag();
|
blocksTag = (ListTag<CompoundTag>) nbtInputStream.readTag();
|
||||||
nbtInputStream.close();
|
nbtInputStream.close();
|
||||||
|
|
Binary file not shown.
Loading…
Reference in a new issue