mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2025-04-12 18:20:26 +08:00
Fix #110
This commit is contained in:
parent
c40d11b4da
commit
04b749c792
@ -31,7 +31,6 @@ import org.bukkit.entity.Player;
|
||||
import org.bukkit.scheduler.BukkitRunnable;
|
||||
import org.bukkit.scheduler.BukkitTask;
|
||||
import static org.bukkit.Bukkit.getOfflinePlayer;
|
||||
import static org.bukkit.Bukkit.getOfflinePlayer;
|
||||
|
||||
/**
|
||||
* This Class contains the Cache.
|
||||
@ -338,7 +337,7 @@ public class DataCacheHandler extends LocationCache {
|
||||
*/
|
||||
public void saveCommandUse() {
|
||||
try {
|
||||
db.saveCommandUse(commandUse);
|
||||
db.saveCommandUse(new HashMap<>(commandUse));
|
||||
} catch (SQLException | NullPointerException e) {
|
||||
Log.toLog(this.getClass().getName(), e);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user