Better Signs

Better Signs

291k Downloads

Missing marker to make sure that the server is not listed as incompatible.

MarkusBordihn opened this issue ยท 0 comments

commented

It seems that mod is client-side only. Please make sure to add the corresponding markers for the compatibility check.

See for more details: https://mcforge.readthedocs.io/en/latest/concepts/sides/#writing-one-sided-mods

Basically you just need to add the following line to solve this:

//Make sure the mod being absent on the other network side does not cause the client to display the server as incompatible
ModLoadingContext.get().registerExtensionPoint(IExtensionPoint.DisplayTest.class, () -> new IExtensionPoint.DisplayTest(() -> NetworkConstants.IGNORESERVERONLY, (a, b) -> true));