Skip to content

Commit

Permalink
Allow tome experience to be 0 (Closes #98)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mrbysco committed Sep 27, 2024
1 parent 77270a4 commit ce7a73d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ public class ForceComponents {
.build());
public static final Supplier<DataComponentType<Integer>> TOME_EXPERIENCE = COMPONENT_TYPE.register("tome_experience", () ->
DataComponentType.<Integer>builder()
.persistent(ExtraCodecs.POSITIVE_INT)
.persistent(ExtraCodecs.NON_NEGATIVE_INT)
.networkSynchronized(ByteBufCodecs.INT)
.build());
public static final Supplier<DataComponentType<ForceWrenchData>> WRENCH = COMPONENT_TYPE.register("wrench", () ->
Expand Down

0 comments on commit ce7a73d

Please sign in to comment.