remove debug messages, woops

This commit is contained in:
Luck 2016-11-13 11:12:06 +00:00
parent 696cd235fd
commit 59fd337e44
No known key found for this signature in database
GPG Key ID: EFA9B3EC5FD90F8B

View File

@ -135,8 +135,6 @@ public class LuckPermsUserSubject extends LuckPermsSubject {
@Override
public Optional<String> getOption(ContextSet contexts, String s) {
try (Timing ignored = service.getPlugin().getTimings().time(LPTiming.USER_GET_OPTION)) {
service.getPlugin().getLog().warn("#getOption: " + contexts + " - " + s);
if (hasData()) {
MetaData data = user.getUserData().getMetaData(service.calculateContexts(contexts));
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)) {
return Optional.of(data.getMeta().get(s));
}