Automobility

Automobility

130k Downloads

Server does not start

DarkLinkMT opened this issue ยท 1 comments

commented

I have an error that does not start my server with this mod, when I try to open it I get
"Caused by: java.lang.NoSuchFieldError: Class io.github.foundationgames.automobility.item.AutomobilityItems does not have member field 'java.util.Map frameModelPool'.
at io.github.foundationgames.automobility.item.AutomobilityItems.(AutomobilityItems.java:72) ~[automobility-0.3+1.18.2.2.jar:?]
at io.github.foundationgames.automobility.Automobility.onInitialize(Automobility.java:45) ~[automobility-0.3+1.18.2.2.jar:?]
at net.fabricmc.loader.impl.FabricLoaderImpl.invokeEntrypoints(FabricLoaderImpl.java:384) ~[fabric-loader-0.15.10.jar:?]
... 6 more"
Can you help me?
The log is this
latest.log

commented

1.18.2 is no longer being maintained:
image

However, I managed to hunt down and fix this bug with the following source code changes and a recompile:
image

It seems odd that the server should require those HashMaps to exist, though. They are only used in client code, so I'm unsure if this is the best possible fix. Either way it is functional.