Skip to content
This repository has been archived by the owner on Feb 27, 2024. It is now read-only.

Commit

Permalink
Attempt to fix/update some armor calculations
Browse files Browse the repository at this point in the history
Signed-off-by: Gabriel Harris-Rouquette <[email protected]>
  • Loading branch information
gabizou authored and dualspiral committed Oct 15, 2020
1 parent 720b576 commit cd82ddb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ public String getName() {
};

public static Optional<List<DamageFunction>> createArmorModifiers(
final EntityLivingBase entityLivingBase, final DamageSource damageSource, double damage) {
final EntityLivingBase entityLivingBase, final DamageSource damageSource, final double damage) {
final Iterable<ItemStack> inventory = entityLivingBase.getArmorInventoryList();
final List<ItemStack> itemStacks = Lists.newArrayList(inventory);
// Beware all ye who enter here, for there's nothing but black magic here.
Expand Down

0 comments on commit cd82ddb

Please sign in to comment.