mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-22 13:09:59 +00:00
Fix UnknownFormatConversionException during erroring TE/Entity removal (#4312)
This commit is contained in:
1 parent
28e341002f
commit
7273065132
1 file changed
+3
-3
@@ -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());
|
||||
+ }
|
||||
|
||||
Reference in new issue
Block a user