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; }
|
||||
|
||||
@@ -67,6 +67,3 @@ config:
|
||||
#否则农作物生长到最后一阶段不会从数据中清除,过大的数据量
|
||||
#可能会导致服务器严重卡顿
|
||||
only-grow-in-loaded-chunks: true
|
||||
|
||||
#在此模式下白名单世界将作为触发所有世界农作物生长的时间标准
|
||||
all-world-grow: true
|
||||
Reference in New Issue
Block a user