Describe
Using colonyIntegrator.getBuildings() resuts in the following error and server crash:
java.lang.NoSuchMethodError: 'com.minecolonies.api.colony.managers.interfaces.IRegisteredStructureManager com.minecolonies.api.colony.IColony.getBuildingManager()'
I've noticed that getBuildingManager is being refactored into getServerBuildingManager and getClientBuildingManager in the new snapshots.
Steps to reproduce
Write any code using ColonyIntegrator's getBuildings function.
Multiplayer?
Yes
Version
Own compiled build.
Minecraft, Forge and maybe other related mods versions
AdvancedPeripherals-1.21.1-0.7.59b.jar, minecolonies-1.1.1254-1.21.1-snapshot.jar
Screenshots or Videos
No response
Crashlog/log
https://pastebin.com/dpi8AjtS
Describe
Using colonyIntegrator.getBuildings() resuts in the following error and server crash:
java.lang.NoSuchMethodError: 'com.minecolonies.api.colony.managers.interfaces.IRegisteredStructureManager com.minecolonies.api.colony.IColony.getBuildingManager()'
I've noticed that getBuildingManager is being refactored into getServerBuildingManager and getClientBuildingManager in the new snapshots.
Steps to reproduce
Write any code using ColonyIntegrator's getBuildings function.
Multiplayer?
Yes
Version
Own compiled build.
Minecraft, Forge and maybe other related mods versions
AdvancedPeripherals-1.21.1-0.7.59b.jar, minecolonies-1.1.1254-1.21.1-snapshot.jar
Screenshots or Videos
No response
Crashlog/log
https://pastebin.com/dpi8AjtS