From 27084490897d636ae3c17f9f9bb2b4b0a03572d3 Mon Sep 17 00:00:00 2001 From: Glitchfinder Date: Thu, 10 Jan 2013 09:26:54 -0800 Subject: [PATCH] Making errors during the chunk conversion process silent. --- .../gmail/nossr50/util/blockmeta/HashChunkletManager.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/gmail/nossr50/util/blockmeta/HashChunkletManager.java b/src/main/java/com/gmail/nossr50/util/blockmeta/HashChunkletManager.java index b44462a04..be5d15704 100644 --- a/src/main/java/com/gmail/nossr50/util/blockmeta/HashChunkletManager.java +++ b/src/main/java/com/gmail/nossr50/util/blockmeta/HashChunkletManager.java @@ -330,17 +330,17 @@ public class HashChunkletManager implements ChunkletManager { catch (IOException ex) { if (ex instanceof EOFException) { // EOF should only happen on Chunklets that somehow have been corrupted. - mcMMO.p.getLogger().severe("Chunklet data at " + location.toString() + " could not be read due to an EOFException, data in this area will be lost."); + //mcMMO.p.getLogger().severe("Chunklet data at " + location.toString() + " could not be read due to an EOFException, data in this area will be lost."); return ChunkletStoreFactory.getChunkletStore(); } else if (ex instanceof StreamCorruptedException) { // StreamCorrupted happens when the Chunklet is no good. - mcMMO.p.getLogger().severe("Chunklet data at " + location.toString() + " is corrupted, data in this area will be lost."); + //mcMMO.p.getLogger().severe("Chunklet data at " + location.toString() + " is corrupted, data in this area will be lost."); return ChunkletStoreFactory.getChunkletStore(); } else if (ex instanceof UTFDataFormatException) { // UTF happens when the Chunklet cannot be read or is corrupted - mcMMO.p.getLogger().severe("Chunklet data at " + location.toString() + " could not be read due to an UTFDataFormatException, data in this area will be lost."); + //mcMMO.p.getLogger().severe("Chunklet data at " + location.toString() + " could not be read due to an UTFDataFormatException, data in this area will be lost."); return ChunkletStoreFactory.getChunkletStore(); }