Sponge: remove spammy user not already loaded message

This commit is contained in:
Luck 2016-12-03 14:11:53 +00:00
parent cd7b3b4f6e
commit 8b60fd0e55
No known key found for this signature in database
GPG Key ID: EFA9B3EC5FD90F8B
2 changed files with 4 additions and 4 deletions

View File

@ -144,7 +144,7 @@ public class SpongeGroupManager implements GroupManager, LPSubjectCollection {
} else {
// Group isn't already loaded. hopefully this call is not on the main thread. :(
plugin.getLog().warn("Group Subject '" + id + "' was requested, but is not loaded in memory. Loading it from storage now.");
//plugin.getLog().warn("Group Subject '" + id + "' was requested, but is not loaded in memory. Loading it from storage now.");
long startTime = System.currentTimeMillis();
plugin.getStorage().createAndLoadGroup(id).join();
SpongeGroup group = getIfLoaded(id);
@ -154,7 +154,7 @@ public class SpongeGroupManager implements GroupManager, LPSubjectCollection {
return plugin.getService().getFallbackGroupSubjects().get(id);
}
plugin.getLog().warn("Loading '" + id + "' took " + (System.currentTimeMillis() - startTime) + " ms.");
//plugin.getLog().warn("Loading '" + id + "' took " + (System.currentTimeMillis() - startTime) + " ms.");
return group.getSpongeData();
}
}

View File

@ -197,7 +197,7 @@ public class SpongeUserManager implements UserManager, LPSubjectCollection {
} else {
// User isn't already loaded. hopefully this call is not on the main thread. :(
plugin.getLog().warn("User Subject '" + u + "' was requested, but is not loaded in memory. Loading them from storage now.");
//plugin.getLog().warn("User Subject '" + u + "' was requested, but is not loaded in memory. Loading them from storage now.");
long startTime = System.currentTimeMillis();
plugin.getStorage().loadUser(u, "null").join();
SpongeUser user = get(u);
@ -208,7 +208,7 @@ public class SpongeUserManager implements UserManager, LPSubjectCollection {
}
user.setupData(false);
plugin.getLog().warn("Loading '" + u + "' took " + (System.currentTimeMillis() - startTime) + " ms.");
//plugin.getLog().warn("Loading '" + u + "' took " + (System.currentTimeMillis() - startTime) + " ms.");
return user.getSpongeData();
}
}