Adjust bat pony visibility. Fixes #425

This commit is contained in:
Sollace 2024-09-18 18:24:34 +01:00
parent 2458471fdd
commit a3d5670f7a
No known key found for this signature in database
GPG key ID: E52FACE7B5C773DB

View file

@ -597,7 +597,7 @@ public class Pony extends Living<PlayerEntity> implements Copyable<Pony>, Update
float lightScale = light / 15F; float lightScale = light / 15F;
float approachFactor = ((velocityScale + lightScale) / 2F); float approachFactor = ((velocityScale + lightScale) / 2F);
if (approachFactor < (entity.isSneaking() ? 0.8F : 0.6F)) { if (approachFactor < (entity.isSneaking() ? 0.8F : 0.3F)) {
return false; return false;
} }
} }