Register using plugin name instead of plugin instance
This commit is contained in:
parent
36f410c1ce
commit
3a10606fb7
@ -66,7 +66,7 @@ public abstract class Disguise {
|
||||
@Getter
|
||||
private BarStyle bossBarStyle = DisguiseConfig.getBossBarStyle();
|
||||
@Getter(value = AccessLevel.PRIVATE)
|
||||
private final NamespacedKey bossBar = new NamespacedKey(LibsDisguises.getInstance(), UUID.randomUUID().toString());
|
||||
private final NamespacedKey bossBar = new NamespacedKey("LibsDisguises", UUID.randomUUID().toString());
|
||||
private FlagWatcher watcher;
|
||||
/**
|
||||
* If set, how long before disguise expires
|
||||
|
Loading…
Reference in New Issue
Block a user