mirror of
https://github.com/MineLittlePony/MineLittlePony.git
synced 2025-02-13 16:24:23 +01:00
Fixed a derp with pony tails not hiding
This commit is contained in:
parent
f0453844a0
commit
3c53d3e4ff
1 changed files with 1 additions and 3 deletions
|
@ -17,8 +17,6 @@ public class PonyTail extends PlaneRenderer implements IModelPart {
|
||||||
|
|
||||||
private int tailStop = 0;
|
private int tailStop = 0;
|
||||||
|
|
||||||
public boolean isHidden = false;
|
|
||||||
|
|
||||||
public PonyTail(AbstractPonyModel model) {
|
public PonyTail(AbstractPonyModel model) {
|
||||||
super(model);
|
super(model);
|
||||||
theModel = model;
|
theModel = model;
|
||||||
|
@ -115,7 +113,7 @@ public class PonyTail extends PlaneRenderer implements IModelPart {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void render(float scale) {
|
public void render(float scale) {
|
||||||
if (!isHidden && index < tailStop) {
|
if (index < tailStop) {
|
||||||
super.render(scale);
|
super.render(scale);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue