Skip to content

Commit 04296d1

Browse files
committed
fix: Fix rice and soybeans to not be edible raw
1 parent 6be89ef commit 04296d1

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

  • common/src/main/java/net/blay09/mods/pantryforblockheads/item

common/src/main/java/net/blay09/mods/pantryforblockheads/item/CropType.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,10 @@ public final class CropType implements StringRepresentable, Comparable<CropType>
3333
public static final CropType STRAWBERRY = register("strawberry", "strawberries");
3434
public static final CropType TOMATO = register("tomato", "tomatoes");
3535
public static final CropType TURNIP = register("turnip", "turnips");
36-
public static final CropType RICE = register("rice", "rice");
37-
public static final CropType SOYBEAN = register("soybean", "soybeans");
36+
public static final CropType RICE = register("rice", "rice")
37+
.overrideProperties(it -> it);
38+
public static final CropType SOYBEAN = register("soybean", "soybeans")
39+
.overrideProperties(it -> it);
3840

3941
public static final Codec<CropType> CODEC = Codec.STRING.comapFlatMap(serializedName -> {
4042
final var cropType = byName(serializedName);

0 commit comments

Comments
 (0)