From 178acfbb20bdbddf4177c8741f90335fafc2785f Mon Sep 17 00:00:00 2001 From: cpw Date: Sun, 19 Apr 2015 11:52:23 -0400 Subject: [PATCH] Change logging to avoid the String.format bug. Closes #1809 --- patches/minecraft/net/minecraft/world/World.java.patch | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/patches/minecraft/net/minecraft/world/World.java.patch b/patches/minecraft/net/minecraft/world/World.java.patch index afeadef72..99f22384a 100644 --- a/patches/minecraft/net/minecraft/world/World.java.patch +++ b/patches/minecraft/net/minecraft/world/World.java.patch @@ -418,7 +418,7 @@ - throw new ReportedException(crashreport); + if (ForgeModContainer.removeErroringEntities) + { -+ FMLLog.severe(crashreport.func_71502_e()); ++ FMLLog.getLogger().log(org.apache.logging.log4j.Level.ERROR, crashreport.func_71502_e()); + func_72900_e(entity); + } + else @@ -436,7 +436,7 @@ + + if (ForgeModContainer.removeErroringEntities) + { -+ FMLLog.severe(crashreport.func_71502_e()); ++ FMLLog.getLogger().log(org.apache.logging.log4j.Level.ERROR, crashreport.func_71502_e()); + func_72900_e(entity); + } + else @@ -453,7 +453,7 @@ - throw new ReportedException(crashreport); + if (ForgeModContainer.removeErroringTileEntities) + { -+ FMLLog.severe(crashreport.func_71502_e()); ++ FMLLog.getLogger().log(org.apache.logging.log4j.Level.ERROR, crashreport.func_71502_e()); + tileentity.func_145843_s(); + func_147468_f(tileentity.field_145851_c, tileentity.field_145848_d, tileentity.field_145849_e); + }