Prefer fetching online players over offline players

This commit is contained in:
Draycia committed 2020-08-09 00:13:31 -07:00
1 parent fb26cc5627
commit c097d4744a
5 files changed
+27 -2

No files matched your search

@@ -57,7 +57,7 @@ public class CommandManager {
});
commandManager.getCommandContexts().registerContext(ChatUser.class, (context) -> {
return carbonChat.getUserService().wrap(Bukkit.getOfflinePlayer(context.popFirstArg()));
return carbonChat.getUserService().wrap(context.popFirstArg());
});
commandManager.getCommandConditions().addCondition(ChatChannel.class,"canuse", (context, execution, value) -> {