Skip to content

Commit

Permalink
Merge pull request #28 from Ruling-0/master
Browse files Browse the repository at this point in the history
Fix Clearing Mages's Mace Equipped Flag
  • Loading branch information
Alastors authored Aug 1, 2024
2 parents 68495a6 + c6a9c48 commit 3effd7f
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 3effd7f

Please sign in to comment.