Mirror von
https://github.com/GeyserMC/Geyser.git
synchronisiert 2024-12-26 16:12:46 +01:00
Update block palette
Dieser Commit ist enthalten in:
Ursprung
90e6ebc1be
Commit
21ddf8af1e
@ -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();
|
||||||
|
Binäre Datei nicht angezeigt.
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren