mirror of
https://github.com/libraryaddict/LibsDisguises.git
synced 2024-12-11 14:58:27 +01:00
Fix NPE
This commit is contained in:
parent
b54e266c11
commit
aebca5ad40
@ -552,7 +552,7 @@ public abstract class Disguise {
|
||||
}
|
||||
|
||||
protected void adjustTallSelfDisguiseScale() {
|
||||
if (!canScaleDisguise()) {
|
||||
if (!canScaleDisguise() || !isDisguiseInUse() || getEntity() == null) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user