Skip to content

Commit

Permalink
Fix CuriosEquipEvent firing erroneously, closes #305
Browse files Browse the repository at this point in the history
  • Loading branch information
TheIllusiveC4 committed Aug 23, 2023
1 parent a0cba8d commit c4109b5
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,11 @@ public boolean mayPlace(@Nonnull ItemStack stack) {
.orElse(true) && super.mayPlace(stack));
}

@Override
public boolean allowModification(@Nonnull Player pPlayer) {
return true;
}

@Override
public boolean mayPickup(Player playerIn) {
ItemStack stack = this.getItem();
Expand Down

0 comments on commit c4109b5

Please sign in to comment.