This is why people should read over code :))

This commit is contained in:
Myles 2016-03-21 19:13:55 +00:00
parent b226e94981
commit 7d3e6bc7cb
1 changed files with 2 additions and 2 deletions

View File

@ -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