Skip to content

Commit

Permalink
setAnd -> set
Browse files Browse the repository at this point in the history
  • Loading branch information
avaruus1 committed Nov 14, 2023
1 parent 53a0ccf commit f279e4d
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,7 @@ public static void register(final DataProviderRegistrator registrator) {
.asMutable(ThrowableItemProjectile.class)
.create(Keys.ITEM_STACK_SNAPSHOT)
.get(h -> ItemStackUtil.snapshotOf(h.getItem()))
.setAnd((h, v) -> {
h.setItem(ItemStackUtil.fromSnapshotToNative(v));

return true;
});
.set((h, v) -> h.setItem(ItemStackUtil.fromSnapshotToNative(v)));
}
// @formatter:on

Expand Down

0 comments on commit f279e4d

Please sign in to comment.