This commit is contained in:
gnembon committed 2020-01-21 12:00:43 -04:00
1 parent 814180b4a7
commit 69ce425ecd
1 file changed
+1 -1
@@ -51,7 +51,7 @@ public abstract class PlayerEntity_parrotMixin extends LivingEntity
private void onTickMovement(CallbackInfo ci)
{
boolean parrots_will_drop = !CarpetSettings.persistentParrots || this.abilities.invulnerable;
if (!this.world.isClient && ((parrots_will_drop && this.fallDistance > 0.5F) || this.isInWater() || this.abilities.flying || isSleeping()))
if (!this.world.isClient && ((parrots_will_drop && this.fallDistance > 0.5F) || this.isTouchingWater() || this.abilities.flying || isSleeping()))
{
this.dropShoulderEntities();
}