3
0
Mirror von https://github.com/ViaVersion/ViaVersion.git synchronisiert 2024-11-03 14:50:30 +01:00

This is why people should read over code :))

Dieser Commit ist enthalten in:
Myles 2016-03-21 19:13:55 +00:00
Ursprung b226e94981
Commit 7d3e6bc7cb

Datei anzeigen

@ -42,8 +42,8 @@ public class EntityPackets {
public Void transform(PacketWrapper wrapper, Boolean inputValue) throws Exception {
EntityTracker tracker = wrapper.user().get(EntityTracker.class);
if (!inputValue) {
int passenger = wrapper.get(Type.VAR_INT, 0);
int vehicle = wrapper.get(Type.VAR_INT, 1);
int passenger = wrapper.get(Type.INT, 0);
int vehicle = wrapper.get(Type.INT, 1);
wrapper.cancel(); // Don't send current packet