Industrial Renewal

Industrial Renewal

2M Downloads

HV Wire Coil causes JAVA Exception in Server Console

Franklin554 opened this issue ยท 0 comments

commented

Versions:
-Minecraft Forge:
1.12.2-14.23.5.2836
-Industrial Renewal:
1.12.2-0.14.3
What happens:
If you use item "HV Wire Coil" with HV Isolator or other Minecraft Blocks, there is a Java Exception in the Server Console and no message is written in Minecraft Acion Bar ... e.g.:
-Can not connect
-connection start
-connection distance:x
In Signleplayer this works with the message.
What should happen:
The messages should be written in the ActionBar as in single player mode.
Logs (if necessary):
[20:32:50] [Server thread/FATAL] [minecraft/MinecraftServer]: Error executing task
java.util.concurrent.ExecutionException: java.lang.NoClassDefFoundError: net/minecraft/client/Minecraft
at java.util.concurrent.FutureTask.report(FutureTask.java:122) ~[?:1.8.0_212]
at java.util.concurrent.FutureTask.get(FutureTask.java:192) ~[?:1.8.0_212]
at net.minecraft.util.Util.func_181617_a(SourceFile:47) [h.class:?]
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:723) [MinecraftServer.class:?]
at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:397) [nz.class:?]
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:668) [MinecraftServer.class:?]
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:526) [MinecraftServer.class:?]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_212]
Caused by: java.lang.NoClassDefFoundError: net/minecraft/client/Minecraft
at cassiokf.industrialrenewal.util.Utils.sendChatMessage(Utils.java:30) ~[Utils.class:?]
at cassiokf.industrialrenewal.item.ItemCoilHV.cleanConnection(ItemCoilHV.java:138) ~[ItemCoilHV.class:?]
at cassiokf.industrialrenewal.item.ItemCoilHV.func_180614_a(ItemCoilHV.java:50) ~[ItemCoilHV.class:?]
at net.minecraftforge.common.ForgeHooks.onPlaceItemIntoWorld(ForgeHooks.java:889) ~[ForgeHooks.class:?]
at net.minecraft.item.ItemStack.func_179546_a(ItemStack.java:186) ~[aip.class:?]
at net.minecraft.server.management.PlayerInteractionManager.func_187251_a(PlayerInteractionManager.java:492) ~[or.class:?]
at net.minecraft.network.NetHandlerPlayServer.func_184337_a(NetHandlerPlayServer.java:741) ~[pa.class:?]
at net.minecraft.network.play.client.CPacketPlayerTryUseItemOnBlock.func_148833_a(SourceFile:55) ~[ma.class:?]
at net.minecraft.network.play.client.CPacketPlayerTryUseItemOnBlock.func_148833_a(SourceFile:11) ~[ma.class:?]
at net.minecraft.network.PacketThreadUtil$1.run(SourceFile:13) ~[hv$1.class:?]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[?:1.8.0_212]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_212]
at net.minecraft.util.Util.func_181617_a(SourceFile:46) ~[h.class:?]
... 5 more
Additional Comments:
sorry for my bad English xD