mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-26 06:53:20 +00:00
Use multiple catch, try-with-resources, replace system.out and e.printStackTrace
This commit is contained in:
1 parent
10ca404e9e
commit
93025510ae
27 files changed
+62
-132
No files matched your search
@@ -26,6 +26,7 @@ import net.minecraft.nbt.NBTTagCompound;
|
||||
import net.minecraft.util.math.ChunkPos;
|
||||
import net.minecraftforge.common.MinecraftForge;
|
||||
import net.minecraftforge.event.world.ChunkDataEvent;
|
||||
import net.minecraftforge.fml.common.FMLLog;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.util.concurrent.ConcurrentLinkedQueue;
|
||||
@@ -69,7 +70,7 @@ class ChunkIOProvider implements Runnable
|
||||
}
|
||||
catch (IOException e)
|
||||
{
|
||||
e.printStackTrace();
|
||||
FMLLog.log.error("Failed to load chunk async.", e);
|
||||
}
|
||||
|
||||
if (data != null)
|
||||
|
||||
Reference in new issue
Block a user