mirror of
https://github.com/Creators-of-Create/Create.git
synced 2024-12-16 21:23:42 +01:00
restore arm rendering
This commit is contained in:
parent
5ba4477ada
commit
3e6ef34993
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ public class ArmRenderer extends KineticTileEntityRenderer {
|
||||||
float upperArmAngle = arm.upperArmAngle.get(pt) - 90;
|
float upperArmAngle = arm.upperArmAngle.get(pt) - 90;
|
||||||
float headAngle = arm.headAngle.get(pt);
|
float headAngle = arm.headAngle.get(pt);
|
||||||
|
|
||||||
boolean rave = te instanceof ArmTileEntity && ((ArmTileEntity) te).phase == Phase.DANCING;
|
boolean rave = arm.phase == Phase.DANCING;
|
||||||
float renderTick = AnimationTickHolder.getRenderTick() + (te.hashCode() % 64);
|
float renderTick = AnimationTickHolder.getRenderTick() + (te.hashCode() % 64);
|
||||||
if (rave) {
|
if (rave) {
|
||||||
baseAngle = (renderTick * 10) % 360;
|
baseAngle = (renderTick * 10) % 360;
|
||||||
|
|
Loading…
Reference in a new issue