This commit is contained in:
Camotoy 2022-08-20 16:32:24 -04:00
parent 3716b7a84f
commit a3b1cf61ad
No known key found for this signature in database
GPG key ID: 7EEFB66FE798081F

View file

@ -106,6 +106,9 @@ public class LivingEntity extends Entity {
// Riptide spin attack
setFlag(EntityFlag.DAMAGE_NEARBY_MOBS, (xd & 0x04) == 0x04);
// OptionalPack usage
setFlag(EntityFlag.EMERGING, isUsingItem && isUsingOffhand);
}
public void setHealth(FloatEntityMetadata entityMetadata) {