Bug prevention: This isn't accessed outside the definint class so let's make it private

This commit is contained in:
Sollace 2018-10-23 10:08:06 +02:00
parent 9314089484
commit 737bb7cca6

View file

@ -75,7 +75,7 @@ public abstract class AbstractPonyModel extends ModelPlayer implements IModel, P
/**
* Checks flying and speed conditions and sets rainboom to true if we're a species with wings and is going faaast.
*/
protected void checkRainboom(Entity entity, float swing) {
private void checkRainboom(Entity entity, float swing) {
double zMotion = Math.sqrt(entity.motionX * entity.motionX + entity.motionZ * entity.motionZ);
rainboom = (isFlying() && canFly()) || isElytraFlying();