3
0
KCauldronX/patches/cpw/mods/fml/common/network/handshake/FMLHandshakeServerState.java.patch

16 lines
918 B
Diff
Raw Normal View History

--- ../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()) {
2015-07-24 23:07:40 +00:00
+ FMLLog.info("Client attempting to join with %d mods : %s", client.modListSize(), client.modListAsString());
+ } else {
2015-07-24 23:07:40 +00:00
+ FMLLog.info("Client attempting to join with %d mods", client.modListSize());
+ }
String result = FMLNetworkHandler.checkModList(client, Side.CLIENT);
if (result != null)
{