mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2024-11-24 19:46:32 +01:00
remove debug messages, woops
This commit is contained in:
parent
696cd235fd
commit
59fd337e44
@ -135,8 +135,6 @@ public class LuckPermsUserSubject extends LuckPermsSubject {
|
|||||||
@Override
|
@Override
|
||||||
public Optional<String> getOption(ContextSet contexts, String s) {
|
public Optional<String> getOption(ContextSet contexts, String s) {
|
||||||
try (Timing ignored = service.getPlugin().getTimings().time(LPTiming.USER_GET_OPTION)) {
|
try (Timing ignored = service.getPlugin().getTimings().time(LPTiming.USER_GET_OPTION)) {
|
||||||
service.getPlugin().getLog().warn("#getOption: " + contexts + " - " + s);
|
|
||||||
|
|
||||||
if (hasData()) {
|
if (hasData()) {
|
||||||
MetaData data = user.getUserData().getMetaData(service.calculateContexts(contexts));
|
MetaData data = user.getUserData().getMetaData(service.calculateContexts(contexts));
|
||||||
if (s.equalsIgnoreCase("prefix")) {
|
if (s.equalsIgnoreCase("prefix")) {
|
||||||
@ -151,7 +149,6 @@ public class LuckPermsUserSubject extends LuckPermsSubject {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
service.getPlugin().getLog().info(data.getMeta().toString());
|
|
||||||
if (data.getMeta().containsKey(s)) {
|
if (data.getMeta().containsKey(s)) {
|
||||||
return Optional.of(data.getMeta().get(s));
|
return Optional.of(data.getMeta().get(s));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user