mirror of
https://github.com/Creators-of-Create/Create.git
synced 2024-12-27 07:27:15 +01:00
Merge pull request #4216 from Flemmli97/mc1.18/dev
Fix Heavy Damage Attribute not working
This commit is contained in:
commit
632152d28f
1 changed files with 1 additions and 1 deletions
|
@ -138,7 +138,7 @@ public interface ItemAttribute {
|
|||
MAX_ENCHANTED(StandardTraits::maxEnchanted),
|
||||
RENAMED(ItemStack::hasCustomHoverName),
|
||||
DAMAGED(ItemStack::isDamaged),
|
||||
BADLY_DAMAGED(s -> s.isDamaged() && s.getDamageValue() / s.getMaxDamage() > 3 / 4f),
|
||||
BADLY_DAMAGED(s -> s.isDamaged() && (float) s.getDamageValue() / s.getMaxDamage() > 3 / 4f),
|
||||
NOT_STACKABLE(((Predicate<ItemStack>) ItemStack::isStackable).negate()),
|
||||
EQUIPABLE(s -> LivingEntity.getEquipmentSlotForItem(s)
|
||||
.getType() != EquipmentSlot.Type.HAND),
|
||||
|
|
Loading…
Reference in a new issue