mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-19 03:39:17 +00:00
git gud diyo
This commit is contained in:
1 parent
a02d2b4f18
commit
62107c26ec
1 file changed
+2
-2
+2
-2
@@ -74,8 +74,8 @@ public class ItemManasteelArmor extends ItemArmor implements ISpecialArmor, IMan
|
||||
|
||||
@Override
|
||||
public ArmorProperties getProperties(EntityLivingBase player, ItemStack armor, DamageSource source, double damage, int slot) {
|
||||
if (source.isUnblockable())
|
||||
return new ArmorProperties(0, 0, 0);
|
||||
if(source.isUnblockable())
|
||||
return new ArmorProperties(0, 0, 0);
|
||||
return new ArmorProperties(0, damageReduceAmount / 25D, armor.getMaxDamage() + 1 - armor.getItemDamage());
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user