9
0
mirror of https://github.com/Xiao-MoMi/Custom-Crops.git synced 2025-12-28 11:29:19 +00:00

1.16support + MineDown

This commit is contained in:
Xiao-MoMi
2022-05-24 12:48:33 +08:00
parent ac17f2b278
commit 7223efd6e7
23 changed files with 3623 additions and 289 deletions

View File

@@ -77,13 +77,14 @@ public class SprinklerManager {
}
else {
SprinklerManager.instances = new HashMap<Location, String>();
Bukkit.getConsoleSender().sendMessage("错误:请联系开发者并提供报错信息");
Bukkit.getConsoleSender().sendMessage("错误:空数据");
}
try {
data.save(file);
}
catch (IOException e) {
e.printStackTrace();
CustomCrops.instance.getLogger().warning("洒水器数据保存出错");
}
}
public static void putInstance(Location location, String type) {
@@ -111,6 +112,7 @@ public class SprinklerManager {
data.save(file);
}catch (IOException e){
e.printStackTrace();
CustomCrops.instance.getLogger().warning("洒水器缓存清理保存出错!");
}
return null;
});