owmii / Powah

Discord:
https://discord.gg/A8TP9JY
GNU Lesser General Public License v3.0
28 stars 22 forks source link

Reactor crashes while connecting to mekanism cable #236

Open theArhar opened 10 months ago

theArhar commented 10 months ago

Version: (make sure you are on the latest version before reporting):

Issue description:

Game crashes

Steps to reproduce:

Connect reactor with mekanism cable

Is this a crash?, please includ it here: (Recommended to use Gist)

Time: 2024-01-20 18:20:24 Description: Exception in server tick loop

java.lang.ClassCastException: class owmii.powah.forge.ForgeEnvHandler$8 cannot be cast to class mekanism.api.energy.IStrictEnergyHandler (owmii.powah.forge.ForgeEnvHandler$8 is in module powah@5.0.4 of loader 'TRANSFORMER' @7aad7df5; mekanism.api.energy.IStrictEnergyHandler is in module mekanism@10.4.5 of loader 'TRANSFORMER' @7aad7df5) at net.minecraftforge.common.util.LazyOptional.ifPresent(LazyOptional.java:137) ~[forge-1.20.1-47.2.17-universal.jar%231423!/:?] {re:mixin,re:classloading,pl:mixin:APP:phosphophyllite.mixins.json:LazyOptionalMixin,pl:mixin:A} at mekanism.common.content.network.EnergyNetwork.tickEmit(EnergyNetwork.java:135) ~[Mekanism-1.20.1-10.4.5.19.jar%231168!/:10.4.5] {re:classloading} at mekanism.common.content.network.EnergyNetwork.onUpdate(EnergyNetwork.java:160) ~[Mekanism-1.20.1-10.4.5.19.jar%231168!/:10.4.5] {re:classloading} at mekanism.common.lib.transmitter.TransmitterNetworkRegistry.onTick(TransmitterNetworkRegistry.java:135) ~[Mekanism-1.20.1-10.4.5.19.jar%231168!/:10.4.5] {re:classloading} at mekanism.common.lib.transmitter.__TransmitterNetworkRegistry_onTick_ServerTickEvent.invoke(.dynamic) ~[Mekanism-1.20.1-10.4.5.19.jar%231168!/:10.4.5] {re:classloading,pl:eventbus:B} at net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:73) ~[eventbus-6.0.5.jar%2387!/:?] {} at net.minecraftforge.eventbus.EventBus.post(EventBus.java:315) ~[eventbus-6.0.5.jar%2387!/:?] {} at net.minecraftforge.eventbus.EventBus.post(EventBus.java:296) ~[eventbus-6.0.5.jar%2387!/:?] {} at net.minecraftforge.event.ForgeEventFactory.onPostServerTick(ForgeEventFactory.java:950) ~[forge-1.20.1-47.2.17-universal.jar%231423!/:?] {re:mixin,re:classloading,pl:mixin:A} at net.minecraft.server.MinecraftServer.m5705(MinecraftServer.java:835) ~[client-1.20.1-20230612.114412-srg.jar%231418!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:A} at net.minecraft.client.server.IntegratedServer.m5705(IntegratedServer.java:89) ~[client-1.20.1-20230612.114412-srg.jar%231418!/:?] {re:mixin,pl:runtimedistcleaner:A,re:classloading,pl:mixin:APP:modernfix-common.mixins.json:perf.thread_priorities.IntegratedServerMixin,pl:mixin:A,pl:runtimedistcleaner:A} at net.minecraft.server.MinecraftServer.m130011(MinecraftServer.java:661) ~[client-1.20.1-20230612.114412-srg.jar%231418!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:A} at net.minecraft.server.MinecraftServer.m206580(MinecraftServer.java:251) ~[client-1.20.1-20230612.114412-srg.jar%231418!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:A} at java.lang.Thread.run(Thread.java:833) ~[?:?] {re:mixin}