Why are these empty part 2

This commit is contained in:
nossr50 2019-01-15 01:11:33 -08:00
parent d6fea9a2df
commit 0acde4a8af
4 changed files with 4 additions and 2 deletions

View File

@ -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);

View File

@ -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);
} }

View File

@ -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;

View File

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