Skip to content

Server Hang upon using Iron's Spellbooks Pocket Dimension #58

@Immodial

Description

@Immodial

Whenever you cast the Pocket Dimension spell from Iron's Spellbooks, it attempts to edit the blocks in the pocket dimension, which isn't loaded. I'm assuming that this is because there isn't a thread allocated to it yet, and somehow starting it up mid-tick from another dimension thread causes a deadlock. This doesn't crash the game, and I'm assuming that's not because I have the tick crash avoidance setting on in config because the error message showing a tick crash has been avoided never appears in the logs.

A few things of note - the game itself doesn't seem to have hung, likely only the thread running the caster's dimension (though I haven't tested in multiplayer yet), which I assume because the server is still sending you command autofill options, although commands they can't actually interact with you or the world around you. Oddly, while in this stuck state, you can still do any actions that register solely on client-side, but randomly experience giant frame drops despite the world otherwise being comepletely unmoving. Saving and quitting doesn't actually un-hang the server, so it remains on the loading screen until you use task manager to end the game. This rewound my world to the last saved version.

The Pocket Dimension spell is actually rather important to my modpack's progression, but this mod has given such a huge boost to my performance that I really don't want to have to remove it!

I don't have enough knowledge of Java to decipher how to fix this, but here's my logs and the relevant classes from Iron's Spellbooks
PocketDimensionSpell
PocketDimensionManager
latest.log (might take a bit of scrolling - errors get continually printed while the game is hung)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions