Fix Disguise.clone() not cloning expires

This commit is contained in:
libraryaddict 2020-09-16 06:56:08 +12:00
parent e67115106d
commit 0cd7806d21

View File

@ -209,6 +209,7 @@ public abstract class Disguise {
disguise.notifyBar = getNotifyBar();
disguise.bossBarColor = getBossBarColor();
disguise.bossBarStyle = getBossBarStyle();
disguise.setExpires(getExpires());
if (getWatcher() != null) {
disguise.setWatcher(getWatcher().clone(disguise));