Alternate Current

Alternate Current

38M Downloads

Update for 1.21.7

Closed this issue ยท 6 comments

commented

Minecraft has been updated to 1.21.7, would it be possible for this mod to be updated to support it?

commented

The latest release for 1.21.5 should still work for 1.21.7. I'll test it just to make sure and then mark it as such on Modrinth and CurseForge.

commented

Latest release doesn't work with the 1.21.8. It crashes when on the server startup.

java.lang.NullPointerException: Cannot invoke "alternate.current.interfaces.mixin.IServerLevel.alternate_current$getWireHandler()" because "overworld" is null
        at knot/net.minecraft.server.MinecraftServer.handler$zbb000$alternate-current$alternate_current$save(MinecraftServer.java:3174) ~[server-intermediary.jar:?]
        at knot/net.minecraft.server.MinecraftServer.method_3723(MinecraftServer.java) ~[server-intermediary.jar:?]
        at knot/net.minecraft.server.MinecraftServer.method_3782(MinecraftServer.java:628) ~[server-intermediary.jar:?]
        at knot/net.minecraft.class_3176.method_3782(class_3176.java:543) ~[server-intermediary.jar:?]
        at knot/net.minecraft.server.MinecraftServer.method_29741(MinecraftServer.java:748) ~[server-intermediary.jar:?]
        at knot/net.minecraft.server.MinecraftServer.method_29739(MinecraftServer.java:291) ~[server-intermediary.jar:?]
        at java.base/java.lang.Thread.run(Thread.java:1583) [?:?]```
commented

thanks for reporting that - I neglected to test the server environment

commented

Actually I don't think this issue was ultimately caused by Alternate Current. That stack trace could only happen if the server encountered an issue during initialization, for which there should be an error message or stack trace above the one you posted. The server would have given a similar stack trace if Alternate Current hadn't been present.

commented

That was weird, I re-enabled your mod and it worked somehow. Tested only alternate current and the server initialized properly. Sorry for wasting your time.

commented

no worries - I'll close this issue then