Not sure why I have a watcher null check, ALWAYS set the watcher.

This commit is contained in:
libraryaddict 2020-06-13 17:42:53 +12:00
parent 142f1c277e
commit 473293463d
No known key found for this signature in database
GPG Key ID: 052E4FBCD257AEA4

View File

@ -216,7 +216,7 @@ public abstract class Disguise {
disguise.setDynamicName(isDynamicName()); disguise.setDynamicName(isDynamicName());
disguise.setSoundGroup(getSoundGroup()); disguise.setSoundGroup(getSoundGroup());
if (getWatcher() != null && disguise.getWatcher() == null) { if (getWatcher() != null) {
disguise.setWatcher(getWatcher().clone(disguise)); disguise.setWatcher(getWatcher().clone(disguise));
} }