Log Voids interaction

This is just in case the server would crash and not save current score.
log can be used to see what was the last score at some point
This commit is contained in:
2024-02-04 21:29:03 +01:00
parent d92a8c6125
commit a7a88bb619

View File

@ -67,6 +67,7 @@ public class DatabaseManager {
}
public void setVoids(UUID uuid, int amount) {
Bukkit.getLogger().info("[VOIDS] -> " + uuid.toString() + " to " + amount);
try {
Statement st = con.createStatement();
String query = "INSERT OR REPLACE INTO voids (uuid, amount) VALUES (?, ?)";