Fix UnknownFormatConversionException during erroring TE/Entity removal (#4312)
This commit is contained in:
parent
28e341002f
commit
7273065132
|
@ -386,7 +386,7 @@
|
|||
|
||||
+ if (net.minecraftforge.common.ForgeModContainer.removeErroringEntities)
|
||||
+ {
|
||||
+ net.minecraftforge.fml.common.FMLLog.log.fatal(crashreport.func_71502_e());
|
||||
+ net.minecraftforge.fml.common.FMLLog.log.fatal("{}", crashreport.func_71502_e());
|
||||
+ func_72900_e(entity);
|
||||
+ }
|
||||
+ else
|
||||
|
@ -399,7 +399,7 @@
|
|||
entity2.func_85029_a(crashreportcategory1);
|
||||
+ if (net.minecraftforge.common.ForgeModContainer.removeErroringEntities)
|
||||
+ {
|
||||
+ net.minecraftforge.fml.common.FMLLog.log.fatal(crashreport1.func_71502_e());
|
||||
+ net.minecraftforge.fml.common.FMLLog.log.fatal("{}", crashreport1.func_71502_e());
|
||||
+ func_72900_e(entity2);
|
||||
+ }
|
||||
+ else
|
||||
|
@ -421,7 +421,7 @@
|
|||
tileentity.func_145828_a(crashreportcategory2);
|
||||
+ if (net.minecraftforge.common.ForgeModContainer.removeErroringTileEntities)
|
||||
+ {
|
||||
+ net.minecraftforge.fml.common.FMLLog.log.fatal(crashreport2.func_71502_e());
|
||||
+ net.minecraftforge.fml.common.FMLLog.log.fatal("{}", crashreport2.func_71502_e());
|
||||
+ tileentity.func_145843_s();
|
||||
+ this.func_175713_t(tileentity.func_174877_v());
|
||||
+ }
|
||||
|
|
Loading…
Reference in New Issue