mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2024-11-27 01:05:38 +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())
|
for (Player player : server.getOnlinePlayers())
|
||||||
{
|
{
|
||||||
baseCommand = baseCommand.replaceAll("\\x3f", player.getName());
|
String runCommand = baseCommand.replaceAll("\\x3f", player.getName());
|
||||||
msg("Running Command: " + baseCommand);
|
msg("Running Command: " + runCommand);
|
||||||
server.dispatchCommand(sender, baseCommand);
|
server.dispatchCommand(sender, runCommand);
|
||||||
}
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
Reference in New Issue
Block a user