This commit is contained in:
DBotThePony 2022-10-14 12:46:13 +07:00
parent 8238946f74
commit 0342e2bfa4
Signed by: DBot
GPG Key ID: DCC23B5715498507

View File

@ -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()