From 0397b718271edeacbd1e9547d675fa69a24f9f55 Mon Sep 17 00:00:00 2001 From: XiaoMoMi <70987828+Xiao-MoMi@users.noreply.github.com> Date: Sat, 7 Sep 2024 01:12:45 +0800 Subject: [PATCH] Update CustomCropsBlockStateImpl.java --- .../customcrops/api/core/world/CustomCropsBlockStateImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/src/main/java/net/momirealms/customcrops/api/core/world/CustomCropsBlockStateImpl.java b/api/src/main/java/net/momirealms/customcrops/api/core/world/CustomCropsBlockStateImpl.java index 8a3a21f..d0f9e0b 100644 --- a/api/src/main/java/net/momirealms/customcrops/api/core/world/CustomCropsBlockStateImpl.java +++ b/api/src/main/java/net/momirealms/customcrops/api/core/world/CustomCropsBlockStateImpl.java @@ -74,7 +74,7 @@ public class CustomCropsBlockStateImpl implements CustomCropsBlockState { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; CustomCropsBlockStateImpl that = (CustomCropsBlockStateImpl) o; - return Objects.equals(compoundMap, that.compoundMap); + return compoundMap.equals(that.compoundMap); } @Override