forked from SteamWar/SteamWar
Compare commits
1
Commits
9935ab785d
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
11798c3ec0 |
@@ -65,7 +65,6 @@ public class ReplayCommand extends SWCommand {
|
||||
|
||||
private void startReplay(PlayerChatter sender, boolean isAdmin, String optionalMap, Fight fight) {
|
||||
if (PunishmentCommand.isPunishedWithMessage(sender, Punishment.PunishmentType.NoFightServer)) return;
|
||||
if (!sender.user().hasPerm(UserPerm.TEAM)) return;
|
||||
|
||||
GameModeConfig<String, String> mode = ArenaMode.getBySchemType(fight.getSchemType());
|
||||
ServerStarter starter = new ServerStarter().replay(fight.getFightID()).blueLeader(sender.getPlayer());
|
||||
|
||||
Reference in New Issue
Block a user