Incorporeal

Incorporeal

561k Downloads

Server-ended crash

Sunconure11 opened this issue ยท 4 comments

commented

User of my massive-ass pack is trying to make a server using said pack, and ran into this issue with incorporeal.

https://pastebin.com/z3L7aHJ8

commented

As it turns out I am actually a dumbass

commented

Wow, ok classloading is a lot weirder than I expected it to be...

Minecraft mc = Minecraft.getMinecraft(); //totally fine on server
mc.addScheduledTask(() -> {              //totally fine on server
  World world = mc.world;                //crashes!
}

Who knew? Not me.

I also found another instance of bad classloading, that would have crashed if this didn't. Should be fixed when I push the next update in a few minutes.

commented

Now approved @ https://minecraft.curseforge.com/projects/incorporeal/files/2702146

Sorry about that! I need to get back in the habit of testing on servers...

commented

image