More compile cleanups. (#5139)

This commit is contained in:
tterrag authored and LexManos committed 2018-09-14 09:30:56 -07:00
1 parent dbf649225a
commit 3f743887e7
71 files changed
+901 -411

No files matched your search

@@ -41,12 +41,12 @@ public class TextComponentHelper
{
if (isVanillaClient(source))
{
return new TextComponentString(LanguageMap.getInstance().translateKey(translation, args));
return new TextComponentString(String.format(LanguageMap.getInstance().translateKey(translation), args));
}
return new TextComponentTranslation(translation, args);
}
private static boolean isVanillaClient(ICommandSender sender)
private static boolean isVanillaClient(ICommandSource sender)
{
if (sender instanceof EntityPlayerMP)
{