Reenable ReplayCommand

This commit is contained in:
2026-10-19 09:07:08 +02:00
parent 380693a2b7
commit 5cc5529533
@@ -57,9 +57,6 @@ public class ReplayCommand extends SWCommand {
@Register @Register
public void genericCommand(PlayerChatter sender, @OptionalValue("") String optionalMap) { public void genericCommand(PlayerChatter sender, @OptionalValue("") String optionalMap) {
if (PunishmentCommand.isPunishedWithMessage(sender, Punishment.PunishmentType.NoFightServer)) return; if (PunishmentCommand.isPunishedWithMessage(sender, Punishment.PunishmentType.NoFightServer)) return;
if (!sender.user().hasPerm(UserPerm.TEAM)) return;
new SWStreamInv<>(sender, new Message("REPLAY_TITLE"), (click, fight) -> { new SWStreamInv<>(sender, new Message("REPLAY_TITLE"), (click, fight) -> {
startReplay(sender, click.isShiftClick(), optionalMap, fight); startReplay(sender, click.isShiftClick(), optionalMap, fight);