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:
parent
d92a8c6125
commit
a7a88bb619
@ -67,6 +67,7 @@ public class DatabaseManager {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void setVoids(UUID uuid, int amount) {
|
public void setVoids(UUID uuid, int amount) {
|
||||||
|
Bukkit.getLogger().info("[VOIDS] -> " + uuid.toString() + " to " + amount);
|
||||||
try {
|
try {
|
||||||
Statement st = con.createStatement();
|
Statement st = con.createStatement();
|
||||||
String query = "INSERT OR REPLACE INTO voids (uuid, amount) VALUES (?, ?)";
|
String query = "INSERT OR REPLACE INTO voids (uuid, amount) VALUES (?, ?)";
|
||||||
|
Loading…
Reference in New Issue
Block a user