LunaPixelStudios / Medieval-MC

https://lunapixel.studio/discord
https://lunapixel.studio/discord
15 stars 9 forks source link

Placing Mine Colonies structures crashes the server #726

Closed tamsv closed 9 months ago

tamsv commented 9 months ago

Describe the Bug

Placing Mine Colonies structures crashes the server, was working in v21 broken in v22. Stack trace head is

java.lang.NoSuchMethodError: 'net.minecraft.world.level.block.state.BlockState com.ldtteam.structurize.blueprints.v1.Blueprint.getBlockState(net.minecraft.core.BlockPos)' at com.minecolonies.coremod.placementhandlers.main.SurvivalHandler.handle(SurvivalHandler.java:109) ~[minecolonies-1.20.1-1.1.240-RELEASE.jar%23566!/:1.20.1-1.1.240-RELEASE]

Reproduction Steps

No response

Screenshots and Videos

No response

Crash Report or Log

https://pastebin.com/m4xzb6z0

Operating System

Linux (VPS)

Minecraft Version

1.20

Modloader

Forge

Modpack Version

v22

Optifine

No

Other Mods

No response

RentalCat commented 9 months ago

(It may be a similar issue...) Similar error occurred when building a city hall in Mine Colonies. (Modpack Version: v22, Operating System: WIndows11)

I found that Structurize, which is a pre-requisite mod for Mine Colonies, also reported the same issue and recommended downgrading the Structurize version to 659 in their issue. https://github.com/ldtteam/Structurize/issues/628#issuecomment-1801332005

In fact, the above downgrade on my side resolved the issue, so it may be a good idea to change the version to 659 while waiting for Structurize to resolve the underlying issue.

chorbintime commented 9 months ago

noted, thanks