Fix double wrapping

This commit is contained in:
DBotThePony 2024-09-02 20:18:45 +07:00
parent aa461c322f
commit a460a1fc98
Signed by: DBot
GPG Key ID: DCC23B5715498507

View File

@ -76,7 +76,7 @@ class DelegateSyncher : Observer {
fun read(registry: RegistryAccess, bytes: ByteArrayList) {
return decodePayload(registry, bytes) {
read(RegistryFriendlyByteBuf(it, registry, ConnectionType.NEOFORGE))
read(it)
}
}