Fix isUpsideDown when constructing a disguise with a premade skin
This commit is contained in:
parent
102c7f3a6a
commit
0e125523f4
@ -365,7 +365,7 @@ public abstract class Disguise {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public boolean isUpsideDown() {
|
public boolean isUpsideDown() {
|
||||||
return getWatcher().isUpsideDown();
|
return getWatcher() != null && getWatcher().isUpsideDown();
|
||||||
}
|
}
|
||||||
|
|
||||||
public Disguise setUpsideDown(boolean upsideDown) {
|
public Disguise setUpsideDown(boolean upsideDown) {
|
||||||
|
Loading…
Reference in New Issue
Block a user