Fix 1.19.3 sound remapping

Fix #505
This commit is contained in:
Nassim Jahnke 2022-12-09 13:24:35 +01:00
parent 0d0719040c
commit 7cbfffaa68
No known key found for this signature in database
GPG Key ID: 6BE3B555EBC5982B

View File

@ -105,7 +105,7 @@ public final class Protocol1_19_1To1_19_3 extends BackwardsProtocol<ClientboundP
return;
}
wrapper.write(Type.VAR_INT, mappedId + 1);
wrapper.write(Type.VAR_INT, mappedId);
return;
}
@ -138,7 +138,7 @@ public final class Protocol1_19_1To1_19_3 extends BackwardsProtocol<ClientboundP
return;
}
wrapper.write(Type.VAR_INT, mappedId + 1);
wrapper.write(Type.VAR_INT, mappedId);
}
// Convert the resource location to the corresponding integer id