Fix isUpsideDown when constructing a disguise with a premade skin

This commit is contained in:
libraryaddict 2021-12-25 17:48:10 +13:00
parent 102c7f3a6a
commit 0e125523f4

View File

@ -365,7 +365,7 @@ public abstract class Disguise {
}
public boolean isUpsideDown() {
return getWatcher().isUpsideDown();
return getWatcher() != null && getWatcher().isUpsideDown();
}
public Disguise setUpsideDown(boolean upsideDown) {