mirror of
https://github.com/Sollace/Unicopia.git
synced 2025-02-01 03:26:44 +01:00
Bug fix!
This commit is contained in:
parent
130eb4fea1
commit
45c7f8655a
1 changed files with 2 additions and 2 deletions
|
@ -456,11 +456,11 @@ public class Pony extends Living<PlayerEntity> implements Copyable<Pony>, Update
|
|||
float velocityScale = MathHelper.clamp((float)this.entity.getVelocity().horizontalLength(), 0, 5) / 5F;
|
||||
float lightScale = asWorld().getLightLevel(getPhysics().getHeadPosition()) / 15F;
|
||||
|
||||
if (((velocityScale + lightScale) / 2F) < 0.8F) {
|
||||
if (((velocityScale + lightScale) / 2F) < 0.6F) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
return !super.canBeSeenBy(entity);
|
||||
return super.canBeSeenBy(entity);
|
||||
}
|
||||
|
||||
public Optional<Living<?>> getEntityInArms() {
|
||||
|
|
Loading…
Reference in a new issue