Block just console execution, not everything but console senders

This commit is contained in:
onebeastchris 2023-09-18 15:35:06 +02:00
parent 4bf2a4303a
commit c75c5b4fb9
1 changed files with 2 additions and 2 deletions

View File

@ -39,7 +39,7 @@ public class PingCommand extends GeyserCommand {
@Override
public void execute(GeyserSession session, GeyserCommandSource sender, String[] args) {
if (!sender.isConsole()) {
if (sender.isConsole()) {
return;
}