Change logging to avoid the String.format bug. Closes #1809
This commit is contained in:
parent
57408af2a3
commit
178acfbb20
1 changed files with 3 additions and 3 deletions
|
@ -418,7 +418,7 @@
|
||||||
- throw new ReportedException(crashreport);
|
- throw new ReportedException(crashreport);
|
||||||
+ if (ForgeModContainer.removeErroringEntities)
|
+ 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);
|
+ func_72900_e(entity);
|
||||||
+ }
|
+ }
|
||||||
+ else
|
+ else
|
||||||
|
@ -436,7 +436,7 @@
|
||||||
+
|
+
|
||||||
+ if (ForgeModContainer.removeErroringEntities)
|
+ 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);
|
+ func_72900_e(entity);
|
||||||
+ }
|
+ }
|
||||||
+ else
|
+ else
|
||||||
|
@ -453,7 +453,7 @@
|
||||||
- throw new ReportedException(crashreport);
|
- throw new ReportedException(crashreport);
|
||||||
+ if (ForgeModContainer.removeErroringTileEntities)
|
+ 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();
|
+ tileentity.func_145843_s();
|
||||||
+ func_147468_f(tileentity.field_145851_c, tileentity.field_145848_d, tileentity.field_145849_e);
|
+ func_147468_f(tileentity.field_145851_c, tileentity.field_145848_d, tileentity.field_145849_e);
|
||||||
+ }
|
+ }
|
||||||
|
|
Loading…
Reference in a new issue