mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2024-11-30 02:05:41 +00:00
Fix /wildcard selecting only 1 player. Fixes #1861
This commit is contained in:
parent
2ff66ad54b
commit
25fafa7a6c
@ -52,9 +52,9 @@ public class Command_wildcard extends FreedomCommand
|
||||
|
||||
for (Player player : server.getOnlinePlayers())
|
||||
{
|
||||
baseCommand = baseCommand.replaceAll("\\x3f", player.getName());
|
||||
msg("Running Command: " + baseCommand);
|
||||
server.dispatchCommand(sender, baseCommand);
|
||||
String runCommand = baseCommand.replaceAll("\\x3f", player.getName());
|
||||
msg("Running Command: " + runCommand);
|
||||
server.dispatchCommand(sender, runCommand);
|
||||
}
|
||||
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user