Skip to content

Commit 1918c16

Browse files
Fix hasPlantingSurface() check for kelp
1 parent 7a50988 commit 1918c16

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/net/wurstclient/hacks/autofarm/plants/KelpPlantType.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public final boolean isReplantingSpot(BlockPos pos, BlockState state)
4040
public final boolean hasPlantingSurface(BlockPos pos)
4141
{
4242
FluidState fluid = BlockUtils.getState(pos).getFluidState();
43-
if(!fluid.isIn(FluidTags.WATER) && fluid.getLevel() == 8)
43+
if(!fluid.isIn(FluidTags.WATER) || fluid.getLevel() != 8)
4444
return false;
4545

4646
BlockState floor = BlockUtils.getState(pos.down());

0 commit comments

Comments
 (0)