Skip to content

Commit

Permalink
Fix Clearing Mages's Mace Equipped Flag
Browse files Browse the repository at this point in the history
  • Loading branch information
Ruling-0 committed Aug 1, 2024
1 parent 68495a6 commit c6a9c48
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ private void setDamage(ItemStack stack, int newDamage, int potency, boolean isAc
}

NBTTagCompound tagMageMace = stack.stackTagCompound.getCompoundTag("MageMace");
tagMageMace.setBoolean("isMageMaceActive", true);
tagMageMace.setBoolean("isMageMaceActive", isActive);
tagMageMace.setInteger("countOfPotency", potency);

// AttributeModifier and damage
Expand Down

0 comments on commit c6a9c48

Please sign in to comment.