Fix disguise notify bar not being copied in clone

This commit is contained in:
libraryaddict 2020-07-05 10:52:45 +12:00
parent ce884cc8ac
commit 48b15499df

View file

@ -207,6 +207,9 @@ public abstract class Disguise {
disguise.multiName = Arrays.copyOf(multiName, multiName.length);
disguise.setDynamicName(isDynamicName());
disguise.setSoundGroup(getSoundGroup());
disguise.notifyBar = getNotifyBar();
disguise.bossBarColor = getBossBarColor();
disguise.bossBarStyle = getBossBarStyle();
if (getWatcher() != null) {
disguise.setWatcher(getWatcher().clone(disguise));