mirror of
https://github.com/ViaVersion/ViaVersion.git
synced 2024-12-23 08:57:39 +01:00
Fix registry on respawn
This commit is contained in:
parent
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) {
|
||||
|
Loading…
Reference in New Issue
Block a user