diff --git a/src/main/java/com/mrbysco/forcecraft/components/ForceComponents.java b/src/main/java/com/mrbysco/forcecraft/components/ForceComponents.java index bee5d90b..cb160815 100644 --- a/src/main/java/com/mrbysco/forcecraft/components/ForceComponents.java +++ b/src/main/java/com/mrbysco/forcecraft/components/ForceComponents.java @@ -235,7 +235,7 @@ public class ForceComponents { .build()); public static final Supplier> TOME_EXPERIENCE = COMPONENT_TYPE.register("tome_experience", () -> DataComponentType.builder() - .persistent(ExtraCodecs.POSITIVE_INT) + .persistent(ExtraCodecs.NON_NEGATIVE_INT) .networkSynchronized(ByteBufCodecs.INT) .build()); public static final Supplier> WRENCH = COMPONENT_TYPE.register("wrench", () ->