diff --git a/src/main/kotlin/mods/eln/mechanical/SimpleShaft.kt b/src/main/kotlin/mods/eln/mechanical/SimpleShaft.kt index 105ab356..13419ca4 100644 --- a/src/main/kotlin/mods/eln/mechanical/SimpleShaft.kt +++ b/src/main/kotlin/mods/eln/mechanical/SimpleShaft.kt @@ -202,11 +202,6 @@ abstract class SimpleShaftElement(node: TransparentNode, transparentNodeDescript var destructing = false override fun isDestructing() = destructing - init { - val exp = WorldExplosion(this as ShaftElement).machineExplosion() - slowProcessList.add(createShaftWatchdog(this).setDestroys(exp)) - } - override val shaftConnectivity: Array get() = arrayOf(front.left(), front.right()) @@ -220,6 +215,8 @@ abstract class SimpleShaftElement(node: TransparentNode, transparentNodeDescript // These calls can still change the speed via mergeShaft shaft.connectShaft(this, it) } + val exp = WorldExplosion(this as ShaftElement).machineExplosion() + slowProcessList.add(createShaftWatchdog(this).setDestroys(exp)) } override fun onBreakElement() {