forked from SteamWar/SteamWar
Hotfix: Replays (Again!)
This commit is contained in:
@@ -74,10 +74,10 @@ public class BountifulWrapper9 implements BountifulWrapper.IBountifulWrapper {
|
|||||||
posX.set(packet, x);
|
posX.set(packet, x);
|
||||||
posY.set(packet, y);
|
posY.set(packet, y);
|
||||||
posZ.set(packet, z);
|
posZ.set(packet, z);
|
||||||
int pitchInt = (int) (pitch*256/360);
|
byte pitchInt = (byte) (pitch*256/360);
|
||||||
lookPitch.set(packet, isByteClass ? (byte) pitchInt : pitchInt);
|
lookPitch.set(packet, isByteClass ? pitchInt : (int) pitchInt);
|
||||||
int yawInt = (int) (yaw*256/360);
|
byte yawInt = (byte) (yaw*256/360);
|
||||||
lookYaw.set(packet, isByteClass ? (byte) yawInt : yawInt);
|
lookYaw.set(packet, isByteClass ? yawInt : (int) yawInt);
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user