You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: common/src/main/kotlin/org/valkyrienskies/clockwork/content/logistics/solid/delivery/cannon/DeliveryCannonRenderer.kt
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -45,7 +45,7 @@ class DeliveryCannonRenderer(context: BlockEntityRendererProvider.Context?): Fre
45
45
var mount =CachedBufferer.partial(ClockworkPartials.CANNON_MOUNT,be.blockState)
46
46
var barrel =CachedBufferer.partial(ClockworkPartials.CANNON_BARREL,be.blockState)
47
47
48
-
val mult =if(be.gunPowderTicks>0) 3else1
48
+
val mult =if (Minecraft.getInstance().isPaused) 0elseif(be.gunPowderTicks>0) 3else1
49
49
50
50
val xResult = turn(be.xLastRotation, be.xTargetRotation, 1.0*mult)
51
51
val yResult = turn(be.yLastRotation, be.yTargetRotation, 0.75*mult)
@@ -92,7 +92,7 @@ class DeliveryCannonRenderer(context: BlockEntityRendererProvider.Context?): Fre
92
92
if (!be.transportStack.isEmpty && be.maxProgress >0) {
0 commit comments