⚠ This page is served via a proxy. Original site: https://github.com
This service does not collect credentials or authentication data.
Skip to content

Server Crash using Colony Integrator's getBuildings with latest Minecolonies snapshot #804

@MattMckenzy

Description

@MattMckenzy

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingneeds reviewNeeds review from an Contributor

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions