Fixed checking from wrong active channel in datalockapi
This commit is contained in:
parent
37462fedfe
commit
7d9d37f17b
|
|
@ -32,7 +32,7 @@ public final class AQuest extends JavaPlugin {
|
||||||
DataLockAPI dataLockAPI = DataLockAPI.get();
|
DataLockAPI dataLockAPI = DataLockAPI.get();
|
||||||
if (dataLockAPI == null) {
|
if (dataLockAPI == null) {
|
||||||
Logger.severe("Unable to load datalockapi");
|
Logger.severe("Unable to load datalockapi");
|
||||||
} else if (dataLockAPI.isActiveChannel("aquest")) {
|
} else if (dataLockAPI.isActiveChannel("aquest:player-data")) {
|
||||||
Logger.warning("Unable to register aquest channel");
|
Logger.warning("Unable to register aquest channel");
|
||||||
} else {
|
} else {
|
||||||
dataLockAPI.registerChannel("aquest:player-data");
|
dataLockAPI.registerChannel("aquest:player-data");
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user