Fix stats error when disconnecting on first join
This commit is contained in:
@@ -73,6 +73,9 @@ public final class Level {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void update(Player P) {
|
public void update(Player P) {
|
||||||
|
if (!anuraLevel.containsKey(P)) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
saveStuff(P);
|
saveStuff(P);
|
||||||
try {
|
try {
|
||||||
String whereClause = " = (SELECT id FROM players WHERE uuid = '" + P.getUniqueId().toString() + "')";
|
String whereClause = " = (SELECT id FROM players WHERE uuid = '" + P.getUniqueId().toString() + "')";
|
||||||
|
|||||||
Reference in New Issue
Block a user