CraftCanvasMC / Canvas

Empowering the impossible within Minecraft
https://canvasmc.io
75 stars 6 forks source link

Random Warning in Chunk Tick #29

Closed TheDeafCreeper closed 4 months ago

TheDeafCreeper commented 4 months ago

Spark link

https://spark.lucko.me/SM7caU5M6x

Stack trace

[14:18:38 WARN]: java.lang.IllegalStateException: Previous state should be 0, not 1
[14:18:38 WARN]:        at ca.spottedleaf.moonrise.patches.chunk_system.player.RegionizedPlayerChunkLoader$PlayerChunkLoaderData.updateQueues(RegionizedPlayerChunkLoader.java:680)
[14:18:38 WARN]:        at ca.spottedleaf.moonrise.patches.chunk_system.player.RegionizedPlayerChunkLoader.tick(RegionizedPlayerChunkLoader.java:313)
[14:18:38 WARN]:        at net.minecraft.server.level.ServerChunkCache.tick(ServerChunkCache.java:405)
[14:18:38 WARN]:        at net.minecraft.server.level.ServerLevel.endTick$tickChunks(ServerLevel.java:765)
[14:18:38 WARN]:        at net.minecraft.server.level.ServerLevel.lambda$tick$11(ServerLevel.java:1117)
[14:18:38 WARN]:        at net.minecraft.server.level.ServerLevel.runWorld(ServerLevel.java:836)
[14:18:38 WARN]:        at me.dueris.canvas.thread.WorldTickThread.run(WorldTickThread.java:19)

Actions to reproduce (if known)

No response

Canvas version

Current Purpur Version: 1.21-DEV-fdbdc43 (MC: 1.21)*

Agreements

Other

Plugins: None Client: 1.21

Dueris commented 4 months ago

ah shit not this again

TheDeafCreeper commented 4 months ago

A familiar issue I see

Dueris commented 4 months ago

came up before when in beta testing of having chunk ticks on the world tickers instead of the main thread

Dueris commented 4 months ago

fixed