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