
Errors kicking me to the multiplayer menu from a single player world
Closed this issue · 2 comments
Is there an existing issue for this?
- I have searched the existing issues.
Are you using the latest MineColonies Version?
- I am running the latest beta/release version of MineColonies for my Minecraft version.
I am also running the latest versions of other mods that are part of my problem.
Did you check on the Wiki? or ask on Discord?
- I checked the MineColonies Wiki and made sure my issue is not covered there. Or I was sent from discord to open an issue here.
What were you playing at the time? Were you able to reproduce it in both settings?
- Single Player
- Multi Player
Minecraft Version
1.21
MineColonies Version
minecolonies-1.1.1045-1.21.1-snapshot
Structurize Version
structurize-1.0.780-1.21.1-snapshot
Related Mods and their Versions
NeoForge Version: 21.1.177
Current Behavior
unclear, errors occurred when pasting in a town hall, wandering the area of a 250 citizen village.
Expected Behavior
Errors don't boot me to the multiplayer menu from a single player world
Reproduction Steps
- Create a new world
- Paste in a building
Logs
https://gist.github.com/FatesTimelines1337/bef481238b481fe8a9f1199b9df369b5
Anything else?
Also happened when placing a stash
Footer
Viewers
- Add a thumbs-up to the bug report if you are also affected. This helps the bug report become more visible to the team and doesn't clutter the comments.
- Add a comment if you have any insights or background information that isn't already part of the conversation.
I having the same issue on the server. The source of the issue is caused by Postbox block.
Crash Log:
java.lang.ClassCastException: class com.minecolonies.core.blocks.huts.BlockPostBox cannot be cast to class com.minecolonies.api.blocks.AbstractBlockHut
Specific problem: The mod tries to treat a Post Box block as a Hut, but they’re incompatible types.
Where it breaks: TileEntityColonyBuilding.loadAdditional() fails due to incorrect casting.
Likely trigger: Joining a world or chunk containing a BlockPostBox tied to a TileEntityColonyBuilding.
💥 What Caused the Disconnect:
The server sent a chunk containing a BlockPostBox, but the client tried to treat it as a AbstractBlockHut, causing a fatal packet error and disconnection.
✅ Solutions:
Remove the PostBox.