SteamWar/BungeeCore
Archiviert
13
2

Update EventreloadCommand
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful

Dieser Commit ist enthalten in:
yoyosource 2022-06-14 21:31:48 +02:00
Ursprung 8823368f0d
Commit d0ac81aa93

Datei anzeigen

@ -20,15 +20,16 @@
package de.steamwar.bungeecore.commands; package de.steamwar.bungeecore.commands;
import de.steamwar.bungeecore.sql.EventFight; import de.steamwar.bungeecore.sql.EventFight;
import de.steamwar.command.SWCommand;
import net.md_5.bungee.api.CommandSender; import net.md_5.bungee.api.CommandSender;
public class EventreloadCommand extends BasicCommand { public class EventreloadCommand extends SWCommand {
public EventreloadCommand() { public EventreloadCommand() {
super("eventreload", "bungeecore.softreload"); super("eventreload", "bungeecore.softreload");
} }
@Override @Register
public void execute(CommandSender sender, String[] args) { public void execute(CommandSender sender) {
EventFight.loadAllComingFights(); EventFight.loadAllComingFights();
} }
} }