mirror of
https://github.com/MineLittlePony/MineLittlePony.git
synced 2024-11-26 22:38:00 +01:00
Bug prevention: This isn't accessed outside the definint class so let's make it private
This commit is contained in:
parent
9314089484
commit
737bb7cca6
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
* 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);
|
double zMotion = Math.sqrt(entity.motionX * entity.motionX + entity.motionZ * entity.motionZ);
|
||||||
|
|
||||||
rainboom = (isFlying() && canFly()) || isElytraFlying();
|
rainboom = (isFlying() && canFly()) || isElytraFlying();
|
||||||
|
|
Loading…
Reference in a new issue