mirror of
https://github.com/Xiao-MoMi/Custom-Fishing.git
synced 2026-01-04 15:41:35 +00:00
Fixed rare errors
This commit is contained in:
@@ -139,6 +139,8 @@ public class BukkitStorageManager implements StorageManager, Listener {
|
||||
@Override
|
||||
public void disable() {
|
||||
HandlerList.unregisterAll(this);
|
||||
if (this.timerSaveTask != null)
|
||||
this.timerSaveTask.cancel();
|
||||
if (this.dataSource != null && !onlineUserMap.isEmpty())
|
||||
this.dataSource.updateManyPlayersData(onlineUserMap.values(), true);
|
||||
if (this.dataSource != null)
|
||||
|
||||
Reference in New Issue
Block a user