how
This commit is contained in:
parent
8238946f74
commit
0342e2bfa4
@ -305,7 +305,7 @@ class EnergyCounterBlockEntity(p_155229_: BlockPos, p_155230_: BlockState) : Mat
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Suppress("deprecation")
|
@Suppress("deprecation", "OVERRIDE_DEPRECATION")
|
||||||
override fun setBlockState(new: BlockState) {
|
override fun setBlockState(new: BlockState) {
|
||||||
val old = blockState
|
val old = blockState
|
||||||
super.setBlockState(new)
|
super.setBlockState(new)
|
||||||
@ -321,7 +321,7 @@ class EnergyCounterBlockEntity(p_155229_: BlockPos, p_155230_: BlockState) : Mat
|
|||||||
|
|
||||||
if (isMekanismLoaded) {
|
if (isMekanismLoaded) {
|
||||||
resolverInputMekanism = LazyOptional.of { Mattery2MekanismEnergyWrapper(energyInput) }
|
resolverInputMekanism = LazyOptional.of { Mattery2MekanismEnergyWrapper(energyInput) }
|
||||||
resolverOutputMekanism = LazyOptional.of { Mattery2MekanismEnergyWrapper(energyInput) }
|
resolverOutputMekanism = LazyOptional.of { Mattery2MekanismEnergyWrapper(energyOutput) }
|
||||||
}
|
}
|
||||||
|
|
||||||
checkSurroundings()
|
checkSurroundings()
|
||||||
|
Loading…
Reference in New Issue
Block a user