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

update dependencies

This commit is contained in:
XiaoMoMi
2024-10-10 21:25:51 +08:00
parent bf314f87c4
commit ff6983d35b
3 changed files with 15 additions and 13 deletions

View File

@@ -266,7 +266,7 @@ public class SprinklerBlock extends AbstractCustomCropsBlock {
return state;
}
private void tickSprinkler(CustomCropsBlockState state, CustomCropsWorld<?> world, Pos3 location, boolean offline) {
public void tickSprinkler(CustomCropsBlockState state, CustomCropsWorld<?> world, Pos3 location, boolean offline) {
SprinklerConfig config = config(state);
if (config == null) {
BukkitCustomCropsPlugin.getInstance().getPluginLogger().warn("Sprinkler data is removed at location[" + world.worldName() + "," + location + "] because the sprinkler config[" + id(state) + "] has been removed.");