Fix stats error when disconnecting on first join

This commit is contained in:
kaenganxt
2014-11-05 16:33:57 +01:00
parent a5b76dddd6
commit 588771c45f

View File

@@ -73,6 +73,9 @@ public final class Level {
}
public void update(Player P) {
if (!anuraLevel.containsKey(P)) {
return;
}
saveStuff(P);
try {
String whereClause = " = (SELECT id FROM players WHERE uuid = '" + P.getUniqueId().toString() + "')";