Fix RCommand being able to send offline players

This commit is contained in:
2025-04-14 10:01:50 +02:00
parent df5c363fb7
commit b2853b9dec
@@ -41,7 +41,7 @@ public class MsgCommand extends SWCommand {
} }
public static void msg(PlayerChatter sender, Player target, String[] args) { public static void msg(PlayerChatter sender, Player target, String[] args) {
if(target == null) { if(target == null || target.getCurrentServer().isEmpty()) {
sender.system("MSG_OFFLINE"); sender.system("MSG_OFFLINE");
return; return;
} }