mirror of
https://github.com/Xiao-MoMi/Custom-Crops.git
synced 2025-12-22 16:39:36 +00:00
1.5.9
This commit is contained in:
@@ -108,9 +108,9 @@ public final class CustomCrops extends JavaPlugin {
|
||||
}
|
||||
|
||||
//备份数据
|
||||
AdventureManager.consoleMessage("<gradient:#ff206c:#fdee55>[CustomCrops] </gradient><color:#F5DEB3>插件数据自动备份中...");
|
||||
getLogger().info("插件数据自动备份中...");
|
||||
BackUp.backUpData();
|
||||
AdventureManager.consoleMessage("<gradient:#ff206c:#fdee55>[CustomCrops] </gradient><color:#F5DEB3>备份已完成!");
|
||||
getLogger().info("备份已完成...");
|
||||
|
||||
//清除悬浮展示实体
|
||||
HoloUtil.cache.keySet().forEach(player -> {
|
||||
@@ -125,8 +125,11 @@ public final class CustomCrops extends JavaPlugin {
|
||||
this.cropTimerAsync.stopTimer(cropTimerAsync.getTaskID());
|
||||
}
|
||||
|
||||
//卸载完成
|
||||
AdventureManager.consoleMessage("<gradient:#ff206c:#fdee55>[CustomCrops] </gradient><color:#F5DEB3>插件已卸载!作者:小默米 QQ:3266959688");
|
||||
if (adventure != null) {
|
||||
adventure.close();
|
||||
}
|
||||
|
||||
instance = null;
|
||||
}
|
||||
|
||||
public CropManager getCropManager() { return this.cropManager; }
|
||||
|
||||
Reference in New Issue
Block a user