Try fix a weird issue where setting color on dead entities becomes really weird
This commit is contained in:
parent
ebd515e7df
commit
7916039fb2
@ -734,7 +734,7 @@ public class FlagWatcher {
|
|||||||
|
|
||||||
this.glowColor = glowColor;
|
this.glowColor = glowColor;
|
||||||
|
|
||||||
if (!getDisguise().isDisguiseInUse() || getDisguise().getEntity() == null) {
|
if (!getDisguise().isDisguiseInUse() || getDisguise().getEntity() == null || !getDisguise().getEntity().isValid()) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user