Failing to save chunk upon closing world
Martmists-GH opened this issue ยท 0 comments
Minecraft Version
1.18.x
Version
1.100.8
Details
[15:51:39] [Server thread/ERROR]: Failed to save chunk [54, -193]
java.util.concurrent.CompletionException: java.lang.NullPointerException: Cannot invoke "net.minecraft.server.MinecraftServer.method_3760()" because "server" is null
at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:315) ~[?:?]
at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:320) ~[?:?]
at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:722) ~[?:?]
at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:482) ~[?:?]
at net.minecraft.class_3898.method_20605(class_3898.java:509) ~[client-intermediary.jar:?]
at net.minecraft.class_3898.method_17233(class_3898.java:471) ~[client-intermediary.jar:?]
at net.minecraft.class_3215.method_12127(class_3215.java:325) ~[client-intermediary.jar:?]
at net.minecraft.server.MinecraftServer.method_3782(MinecraftServer.java:621) ~[client-intermediary.jar:?]
at net.minecraft.class_1132.method_3782(class_1132.java:193) ~[client-intermediary.jar:?]
at net.minecraft.server.MinecraftServer.method_29741(MinecraftServer.java:729) ~[client-intermediary.jar:?]
at net.minecraft.server.MinecraftServer.method_29739(MinecraftServer.java:273) ~[client-intermediary.jar:?]
at java.lang.Thread.run(Thread.java:833) [?:?]
Caused by: java.lang.NullPointerException: Cannot invoke "net.minecraft.server.MinecraftServer.method_3760()" because "server" is null
at dan200.computercraft.shared.network.NetworkHandler.sendToAllPlayers(NetworkHandler.java:110) ~[cc-restitched-1.100.8.jar:?]
at dan200.computercraft.shared.computer.core.ServerComputer.broadcastDelete(ServerComputer.java:195) ~[cc-restitched-1.100.8.jar:?]
at dan200.computercraft.shared.computer.core.ServerComputerRegistry.remove(ServerComputerRegistry.java:54) ~[cc-restitched-1.100.8.jar:?]
at dan200.computercraft.shared.computer.blocks.TileComputerBase.unload(TileComputerBase.java:79) ~[cc-restitched-1.100.8.jar:?]
at dan200.computercraft.shared.computer.blocks.TileComputerBase.onChunkUnloaded(TileComputerBase.java:97) ~[cc-restitched-1.100.8.jar:?]
at dan200.computercraft.shared.proxy.ComputerCraftProxyCommon.lambda$registerHandlers$6(ComputerCraftProxyCommon.java:127) ~[cc-restitched-1.100.8.jar:?]
at net.fabricmc.fabric.api.event.lifecycle.v1.ServerBlockEntityEvents.lambda$static$2(ServerBlockEntityEvents.java:66) ~[fabric-lifecycle-events-v1-2.1.0+cc71601c60-45cc2ee6a8b6b174.jar:?]
at net.fabricmc.fabric.impl.event.lifecycle.LifecycleEventsImpl.lambda$onInitialize$2(LifecycleEventsImpl.java:45) ~[fabric-lifecycle-events-v1-2.1.0+cc71601c60-45cc2ee6a8b6b174.jar:?]
at net.fabricmc.fabric.api.event.lifecycle.v1.ServerChunkEvents.lambda$static$2(ServerChunkEvents.java:66) ~[fabric-lifecycle-events-v1-2.1.0+cc71601c60-45cc2ee6a8b6b174.jar:?]
at net.minecraft.class_3898.handler$dga000$onChunkUnload(class_3898.java:5895) ~[client-intermediary.jar:?]
at net.minecraft.class_3898.method_18843(class_3898.java:535) ~[client-intermediary.jar:?]
at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:718) ~[?:?]
... 9 more