mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-22 21:26:46 +01:00
Why are these empty part 2
This commit is contained in:
parent
d6fea9a2df
commit
0acde4a8af
@ -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);
|
||||||
|
@ -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);
|
||||||
}
|
}
|
||||||
|
@ -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;
|
||||||
|
@ -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(); }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user