mirror of
https://github.com/ViaVersion/ViaFabricPlus.git
synced 2025-02-22 02:41:29 +01:00
fixed crash
This commit is contained in:
parent
0e3133bd5a
commit
d38a64679e
@ -23,6 +23,7 @@ import java.util.BitSet;
|
||||
import java.util.List;
|
||||
|
||||
@SuppressWarnings("DataFlowIssue")
|
||||
// Copyright RaphiMC/RK_01 - GPL v3 LICENSE
|
||||
public class ClassicWorldHeightInjection {
|
||||
|
||||
public static PacketHandler handleJoinGame(final PacketHandler parentRemapper) {
|
||||
|
@ -28,7 +28,6 @@ public class MixinProtocol1_8to1_7_6_10 extends AbstractProtocol<ClientboundPack
|
||||
map(Type.DOUBLE); // z
|
||||
map(Type.FLOAT); // yaw
|
||||
map(Type.FLOAT); // pitch
|
||||
read(Type.BOOLEAN); // onGround
|
||||
handler(wrapper -> {
|
||||
final boolean onGround = wrapper.read(Type.BOOLEAN); // On Ground
|
||||
final TeleportTracker teleportTracker = wrapper.user().get(TeleportTracker.class);
|
||||
|
Loading…
Reference in New Issue
Block a user