Fixed default network mod checking to allow client side mods without the server side. Mods wishing to REQUIRE server side components must specify a custom check handler using @NetworkCheckHandler

This commit is contained in:
Lex Manos 2014-05-09 13:22:54 -07:00
parent 3a77c79f8a
commit 6b82a4fed8

View file

@ -54,7 +54,7 @@ public class NetworkModHolder
@Override
public boolean check(Map<String,String> remoteVersions, Side side)
{
return remoteVersions.containsKey(container.getModId()) ? acceptVersion(remoteVersions.get(container.getModId())) : false;
return remoteVersions.containsKey(container.getModId()) ? acceptVersion(remoteVersions.get(container.getModId())) : side == Side.SERVER;
}
@Override
public String toString()