mirror of
https://github.com/GeyserMC/Geyser.git
synced 2024-08-14 23:57:35 +00:00
Geyser end of https://github.com/GeyserMC/GeyserOptionalPack/pull/34
This commit is contained in:
parent
3716b7a84f
commit
a3b1cf61ad
1 changed files with 3 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue