From 44beeba05b3f2a04e2d00524cbe6360814d7c36c Mon Sep 17 00:00:00 2001 From: daoge_cmd <3523206925@qq.com> Date: Fri, 28 Jun 2024 19:03:10 +0800 Subject: [PATCH] fix: fix BlockTallWheatSeedDropableBaseComponentImpl::canKeepExisting() --- .../common/BlockTallWheatSeedDropableBaseComponentImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Allay-Server/src/main/java/org/allaymc/server/block/component/common/BlockTallWheatSeedDropableBaseComponentImpl.java b/Allay-Server/src/main/java/org/allaymc/server/block/component/common/BlockTallWheatSeedDropableBaseComponentImpl.java index da9f18265..3a48b4ca1 100644 --- a/Allay-Server/src/main/java/org/allaymc/server/block/component/common/BlockTallWheatSeedDropableBaseComponentImpl.java +++ b/Allay-Server/src/main/java/org/allaymc/server/block/component/common/BlockTallWheatSeedDropableBaseComponentImpl.java @@ -37,7 +37,7 @@ public boolean canKeepExisting(BlockStateWithPos current, BlockStateWithPos neig if (!willBreak) willBreak = this.canPlaceOnBlock(dimension.getBlockState(BlockFace.DOWN.offsetPos(current.pos())).getBlockType()); } - return willBreak; + return !willBreak; } protected boolean notSamePlant(BlockState downBlock) {