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

bump ce version

This commit is contained in:
XiaoMoMi
2025-03-17 19:49:57 +08:00
parent 21bd362640
commit 5d423c65cb
5 changed files with 8 additions and 7 deletions

View File

@@ -85,8 +85,7 @@ public class ActionPlant<T> extends AbstractBuiltInAction<T> {
PotConfig potConfig = Registries.ITEM_TO_POT.get(potItemID);
CustomCropsBlockState potState = potBlock.fixOrGetState(world, potPos3, potConfig, potItemID);
if (potState == null) {
plugin.getPluginLogger().warn("Pot doesn't exist below the crop when executing `plant` action at location[" + world.worldName() + "," + potPos3 + "]");
return;
plugin.debug(() -> "Pot doesn't exist below the crop when executing `plant` action at location[" + world.worldName() + "," + potPos3 + "]");
}
CropBlock cropBlock = (CropBlock) BuiltInBlockMechanics.CROP.mechanic();