Fixed bat ponies dropping pegasus feathers

This commit is contained in:
Sollace 2022-09-26 13:57:45 +02:00
parent d27d75f00c
commit c185071478

View file

@ -319,7 +319,7 @@ public class PlayerPhysics extends EntityPhysics<PlayerEntity> implements Tickab
entity.fallDistance = 0; entity.fallDistance = 0;
if (type.isAvian()) { if (type.isAvian() && pony.getSpecies() != Race.BAT) {
applyThrust(velocity); applyThrust(velocity);
if (entity.world.random.nextInt(9000) == 0) { if (entity.world.random.nextInt(9000) == 0) {