瀏覽代碼

Making errors during the chunk conversion process silent.

Glitchfinder 12 年之前
父節點
當前提交
2708449089
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3 3
      src/main/java/com/gmail/nossr50/util/blockmeta/HashChunkletManager.java

+ 3 - 3
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();
             }