2xsaiko / HCTM

2xsaiko's tech mod
12 stars 4 forks source link

Crashes in singleplayer on alt-tabbing #37

Closed ath-r closed 4 years ago

ath-r commented 4 years ago

Mod version 4.0.9, Minecraft version is 20w09a

---- Minecraft Crash Report ----
// Hi. I'm Minecraft, and I'm a crashaholic.

Time: 3/13/20 11:31 AM
Description: Exception in server tick loop

java.lang.NoSuchMethodError: net.minecraft.class_2487.method_25927(Ljava/lang/String;Ljava/util/UUID;)V
    at net.dblsaiko.hctm.common.wire.Network.toTag(Network.java:294)
    at net.dblsaiko.hctm.common.wire.WireNetworkController.toTag(WireNetworkController.java:163)
    at net.dblsaiko.hctm.common.wire.WireNetworkState.method_75(WireNetworkState.java:32)
    at net.minecraft.class_18.method_17919(class_18.java:48)
    at net.minecraft.class_26.method_125(class_26.java:121)
    at net.minecraft.class_3218.method_14188(class_3218.java:764)
    at net.minecraft.class_3218.method_14176(class_3218.java:753)
    at net.minecraft.server.MinecraftServer.method_3723(MinecraftServer.java:558)
    at net.minecraft.class_1132.method_3748(class_1132.java:122)
    at net.minecraft.server.MinecraftServer.handler$zop000$modifiedRunLoop(MinecraftServer.java:4420)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:640)
    at java.lang.Thread.run(Unknown Source)
2xsaiko commented 4 years ago

4.0.9 is written for 20w10a and up. Not sure why it doesn't complain about the minecraft version on startup, I'm pretty sure I set the required version.

But yeah, update to 20w10a