Fix saving after unlock
This commit is contained in:
1 parent
49bbf4fe1b
commit
f167e43d4b
2 files changed
+21
-20
No files matched your search
@@ -58,12 +58,8 @@ public class EconUser {
|
||||
uuid.toString(), getPointsMap().object2ObjectEntrySet().stream()
|
||||
.map(entry -> entry.getKey() + " - " + entry.getValue().toString())
|
||||
.collect(Collectors.joining("\n")));
|
||||
new BukkitRunnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
Queries.updateUserPoints(uuid, pointsMap);
|
||||
}
|
||||
}.runTaskAsynchronously(VillagerUI.getInstance());
|
||||
|
||||
Queries.updateUserPoints(uuid, pointsMap);
|
||||
}
|
||||
|
||||
private void removePoints(String villagerType, int points, int remove)
|
||||
|
||||
Reference in new issue
Block a user