Remove funny head rotation / "progress bar" when tuning.

This will look very silly and sus to people.
This commit is contained in:
EnderKill98 2023-06-16 18:07:32 +02:00
parent 239e4f03f4
commit ea852c2481

View File

@ -414,7 +414,7 @@ public class SongPlayer implements ClientTickEvents.StartWorldTick {
} }
if(lastBlockPos != null) { if(lastBlockPos != null) {
// Turn head into spinning with time and lookup up further the further tuning is progressed // Turn head into spinning with time and lookup up further the further tuning is progressed
client.getNetworkHandler().sendPacket(new PlayerMoveC2SPacket.LookAndOnGround(((float) (System.currentTimeMillis() % 2000)) * (360f/2000f), (1 - roughTuneProgress) * 180 - 90, true)); //client.getNetworkHandler().sendPacket(new PlayerMoveC2SPacket.LookAndOnGround(((float) (System.currentTimeMillis() % 2000)) * (360f/2000f), (1 - roughTuneProgress) * 180 - 90, true));
client.player.swingHand(Hand.MAIN_HAND); client.player.swingHand(Hand.MAIN_HAND);
} }
} }