Skip to content

Commit

Permalink
allow you to remove a spell from a staff
Browse files Browse the repository at this point in the history
  • Loading branch information
CammiePone committed Jan 5, 2024
1 parent eda7e6f commit fbb58d9
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -120,10 +120,6 @@ private ItemStack applySpells(ItemStack stack, List<Spell> spells) {

for(int i = 0; i < spells.size(); i++) {
Spell spell = spells.get(i);

if(spell.getComponentGroups().get(0).isEmpty())
continue;

list.set(i, spell.toNbt());
}

Expand Down

0 comments on commit fbb58d9

Please sign in to comment.