From 48b15499dfa4efff91b4ffc9171b68a6782f60f5 Mon Sep 17 00:00:00 2001 From: libraryaddict Date: Sun, 5 Jul 2020 10:52:45 +1200 Subject: [PATCH] Fix disguise notify bar not being copied in clone --- .../java/me/libraryaddict/disguise/disguisetypes/Disguise.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/java/me/libraryaddict/disguise/disguisetypes/Disguise.java b/src/main/java/me/libraryaddict/disguise/disguisetypes/Disguise.java index 3442b526..a9c2a230 100644 --- a/src/main/java/me/libraryaddict/disguise/disguisetypes/Disguise.java +++ b/src/main/java/me/libraryaddict/disguise/disguisetypes/Disguise.java @@ -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));