Explorar o código

Why are these empty part 2

nossr50 %!s(int64=6) %!d(string=hai) anos
pai
achega
0acde4a8af

+ 1 - 0
src/main/java/com/gmail/nossr50/database/FlatfileDatabaseManager.java

@@ -130,6 +130,7 @@ public final class FlatfileDatabaseManager implements DatabaseManager {
                         lastPlayed = Long.parseLong(character[37]) * Misc.TIME_CONVERSION_FACTOR;
                         lastPlayed = Long.parseLong(character[37]) * Misc.TIME_CONVERSION_FACTOR;
                     }
                     }
                     catch (NumberFormatException e) {
                     catch (NumberFormatException e) {
+                        e.printStackTrace();
                     }
                     }
                     if (lastPlayed == 0) {
                     if (lastPlayed == 0) {
                         OfflinePlayer player = mcMMO.p.getServer().getOfflinePlayer(name);
                         OfflinePlayer player = mcMMO.p.getServer().getOfflinePlayer(name);

+ 1 - 0
src/main/java/com/gmail/nossr50/database/SQLDatabaseManager.java

@@ -1164,6 +1164,7 @@ public final class SQLDatabaseManager implements DatabaseManager {
                     + "DROP INDEX `user`,"
                     + "DROP INDEX `user`,"
                     + "ADD INDEX `user` (`user`(20) ASC)");
                     + "ADD INDEX `user` (`user`(20) ASC)");
         } catch (SQLException ex) {
         } catch (SQLException ex) {
+            ex.printStackTrace();
         } finally {
         } finally {
             tryClose(resultSet);
             tryClose(resultSet);
         }
         }

+ 1 - 1
src/main/java/com/gmail/nossr50/util/blockmeta/chunkmeta/HashChunkManager.java

@@ -151,7 +151,7 @@ public class HashChunkManager implements ChunkManager {
         try {
         try {
             chunkStore = readChunkStore(world, cx, cz);
             chunkStore = readChunkStore(world, cx, cz);
         }
         }
-        catch (Exception e) {}
+        catch (Exception e) { e.printStackTrace(); }
 
 
         if (chunkStore == null) {
         if (chunkStore == null) {
             return;
             return;

+ 1 - 1
src/main/java/com/gmail/nossr50/util/blockmeta/chunkmeta/PrimitiveChunkStore.java

@@ -139,7 +139,7 @@ public class PrimitiveChunkStore implements ChunkStore {
                     try {
                     try {
                         store[x][z][y] = temp[x][y][z];
                         store[x][z][y] = temp[x][y][z];
                     }
                     }
-                    catch (Exception e) {}
+                    catch (Exception e) { e.printStackTrace(); }
                 }
                 }
             }
             }
         }
         }