This commit is contained in:
Sollace 2022-11-27 21:34:35 +00:00
parent a2410939dd
commit 1db87ad409

View file

@ -367,7 +367,7 @@ public class PlayerPhysics extends EntityPhysics<PlayerEntity> implements Tickab
private void tickArtificialFlight(MutableVector velocity) {
if (ticksInAir % 10 == 0 && !entity.world.isClient) {
ItemStack stack = entity.getEquippedStack(EquipmentSlot.CHEST);
ItemStack stack = AmuletItem.getForEntity(entity);
int damageInterval = 20;
int minDamage = 1;