
Server Crashed while using getInfo()
PhamKun opened this issue ยท 4 comments
Describe the bug
- I go to lua, type colony.getInfo(), the game crashed with error
Error: java.lang.NoSuchMethodError: 'java.lang.String com.minecolonies.api.colony.IColony.getStyle()'
To Reproduce
Steps to reproduce the behavior:
- place down townhall and setup colonies peripherals with a cc computer
- create new town
- turn on cc computer, lua, and try colony.getInfo()
- the game/server shutdown
Expected behavior
should give out the info of the colony
Screenshots
If applicable, add screenshots to help explain your problem.
Versions:
- Minecraft: 1.19.1, forge 42.0.9
- Minecolonies: 1.19.2-1.0.
- Colony4cc: 1.19.1-2.3.0.jar
Additional context
Add any other context about the problem here.
Include logs (from a paste site like gist) if appropriate.
crash-2022-09-11_22.43.15-server.txt
Minecraft: 1.19.2, forge 43.1.16
Minecolonies: 1.19.2-1.0.1004-ALPHA
Colony4cc: 1.19.1-2.3.0.jar
I also tried 1.19.2. Info are above, same thing
Ah, this will be due to the new build tool changes. I thought I'd protected most of the API calls for unexpected changes, but I guess this one was extra unexpected.
lol. There also crashed with getBuildings. I havent tested the citizen info so idk if it will crash or not