Stop IllegalFormatConversionException thrown if @Mod has flagged client-only or server-only
%d is not a valid format for getModId(), which returns String.
This commit is contained in:
parent
9d1f554075
commit
5071e76881
1 changed files with 2 additions and 2 deletions
|
@ -632,13 +632,13 @@ public class FMLModContainer implements ModContainer
|
|||
|
||||
if (clientSideOnly && side != Side.CLIENT)
|
||||
{
|
||||
FMLLog.info("Disabling mod %d it is client side only.", getModId());
|
||||
FMLLog.info("Disabling mod %s it is client side only.", getModId());
|
||||
return false;
|
||||
}
|
||||
|
||||
if (serverSideOnly && side != Side.SERVER)
|
||||
{
|
||||
FMLLog.info("Disabling mod %d it is server side only.", getModId());
|
||||
FMLLog.info("Disabling mod %s it is server side only.", getModId());
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue