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();
|
BackUp.backUpData();
|
||||||
AdventureManager.consoleMessage("<gradient:#ff206c:#fdee55>[CustomCrops] </gradient><color:#F5DEB3>备份已完成!");
|
getLogger().info("备份已完成...");
|
||||||
|
|
||||||
//清除悬浮展示实体
|
//清除悬浮展示实体
|
||||||
HoloUtil.cache.keySet().forEach(player -> {
|
HoloUtil.cache.keySet().forEach(player -> {
|
||||||
@@ -125,8 +125,11 @@ public final class CustomCrops extends JavaPlugin {
|
|||||||
this.cropTimerAsync.stopTimer(cropTimerAsync.getTaskID());
|
this.cropTimerAsync.stopTimer(cropTimerAsync.getTaskID());
|
||||||
}
|
}
|
||||||
|
|
||||||
//卸载完成
|
if (adventure != null) {
|
||||||
AdventureManager.consoleMessage("<gradient:#ff206c:#fdee55>[CustomCrops] </gradient><color:#F5DEB3>插件已卸载!作者:小默米 QQ:3266959688");
|
adventure.close();
|
||||||
|
}
|
||||||
|
|
||||||
|
instance = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
public CropManager getCropManager() { return this.cropManager; }
|
public CropManager getCropManager() { return this.cropManager; }
|
||||||
|
|||||||
@@ -66,7 +66,4 @@ config:
|
|||||||
#如果你使用上述三个特性中的任意一个,请不要设置为false
|
#如果你使用上述三个特性中的任意一个,请不要设置为false
|
||||||
#否则农作物生长到最后一阶段不会从数据中清除,过大的数据量
|
#否则农作物生长到最后一阶段不会从数据中清除,过大的数据量
|
||||||
#可能会导致服务器严重卡顿
|
#可能会导致服务器严重卡顿
|
||||||
only-grow-in-loaded-chunks: true
|
only-grow-in-loaded-chunks: true
|
||||||
|
|
||||||
#在此模式下白名单世界将作为触发所有世界农作物生长的时间标准
|
|
||||||
all-world-grow: true
|
|
||||||
Reference in New Issue
Block a user