You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

15 lines
918 B

--- ../src-base/minecraft/cpw/mods/fml/common/network/handshake/FMLHandshakeServerState.java
+++ ../src-work/minecraft/cpw/mods/fml/common/network/handshake/FMLHandshakeServerState.java
@@ -37,7 +37,11 @@
}
FMLHandshakeMessage.ModList client = (FMLHandshakeMessage.ModList)msg;
- FMLLog.info("Client attempting to join with %d mods : %s", client.modListSize(), client.modListAsString());
+ if (net.minecraft.server.MinecraftServer.kcauldronConfig.loggingClientModList.getValue()) {
+ FMLLog.info("Client attempting to join with %d mods : %s", client.modListSize(), client.modListAsString());
+ } else {
+ FMLLog.info("Client attempting to join with %d mods", client.modListSize());
+ }
String result = FMLNetworkHandler.checkModList(client, Side.CLIENT);
if (result != null)
{