Mirror von
https://github.com/ViaVersion/ViaVersion.git
synchronisiert 2024-09-08 22:02:50 +02:00
Fix registry on respawn
Dieser Commit ist enthalten in:
Ursprung
ee27cbdd22
Commit
130ab70550
@ -64,6 +64,12 @@ public final class Protocol1_18_2To1_18 extends AbstractProtocol<ClientboundPack
|
||||
}
|
||||
});
|
||||
|
||||
registerClientbound(ClientboundPackets1_18.RESPAWN, new PacketRemapper() {
|
||||
@Override
|
||||
public void registerMap() {
|
||||
handler(wrapper -> addTagPrefix(wrapper.passthrough(Type.NBT)));
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
private void addTagPrefix(CompoundTag tag) {
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren