Fix a kick/error

This commit is contained in:
libraryaddict 2024-10-05 20:44:52 +13:00
parent 1375095638
commit 1fccc427a5

View File

@ -85,7 +85,8 @@ public class PacketHandlerMovement<T extends PacketWrapper<T>> implements IPacke
cloned = new WrapperPlayServerEntityRelativeMove(standId, rot.getDeltaX(), rot.getDeltaY(), rot.getDeltaZ(),
rot.isOnGround());
} else {
throw new IllegalStateException("Unknown packet " + packet.getClass());
// It seems that EntityStatus packet was being added at some point, probably in some other transformation
continue; // throw new IllegalStateException("Unknown packet " + packet.getClass());
}
toAdd.add(cloned);