mirror of
https://github.com/ViaVersion/ViaBackwards.git
synced 2024-11-07 10:02:01 +01:00
Use correct gamemode type in respawn packet
This commit is contained in:
parent
611dd93bb9
commit
4b0e352849
@ -55,7 +55,7 @@ public class EntityPackets1_16 extends EntityRewriter<Protocol1_15_2To1_16> {
|
||||
public void registerMap() {
|
||||
map(dimensionTransformer);
|
||||
map(Type.LONG);
|
||||
map(Type.BYTE);
|
||||
map(Type.UNSIGNED_BYTE);
|
||||
handler(wrapper -> {
|
||||
ClientWorld clientWorld = wrapper.user().get(ClientWorld.class);
|
||||
clientWorld.setEnvironment(wrapper.get(Type.INT, 0));
|
||||
|
Loading…
Reference in New Issue
Block a user