mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-02 22:16:22 +00:00
Cleanup TODOs
This commit is contained in:
5 files changed
+2
-6
No files matched your search
@@ -59,7 +59,7 @@ import org.spongepowered.api.scheduler.Task;
|
||||
import org.spongepowered.plugin.PluginContainer;
|
||||
import org.spongepowered.plugin.builtin.jvm.Plugin;
|
||||
|
||||
@Plugin("carbonchat") // TODO: hard depend on LuckPerms
|
||||
@Plugin("carbonchat")
|
||||
@DefaultQualifier(NonNull.class)
|
||||
public final class CarbonChatSponge implements CarbonChat {
|
||||
|
||||
|
||||
@@ -126,7 +126,6 @@ public final class CarbonServerSponge implements CarbonServer, ForwardingAudienc
|
||||
|
||||
@Override
|
||||
public CompletableFuture<@Nullable UUID> resolveUUID(final String username) {
|
||||
// TODO: user cache?
|
||||
return CompletableFuture.supplyAsync(() ->
|
||||
Sponge.server().gameProfileManager().basicProfile(username).join().uuid()
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user