From d0ac81aa93a56c9096f52f93ed5eebad65567522 Mon Sep 17 00:00:00 2001 From: yoyosource Date: Tue, 14 Jun 2022 21:31:48 +0200 Subject: [PATCH] Update EventreloadCommand --- .../steamwar/bungeecore/commands/EventreloadCommand.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/de/steamwar/bungeecore/commands/EventreloadCommand.java b/src/de/steamwar/bungeecore/commands/EventreloadCommand.java index 239b9de..9d5008a 100644 --- a/src/de/steamwar/bungeecore/commands/EventreloadCommand.java +++ b/src/de/steamwar/bungeecore/commands/EventreloadCommand.java @@ -20,15 +20,16 @@ package de.steamwar.bungeecore.commands; import de.steamwar.bungeecore.sql.EventFight; +import de.steamwar.command.SWCommand; import net.md_5.bungee.api.CommandSender; -public class EventreloadCommand extends BasicCommand { +public class EventreloadCommand extends SWCommand { public EventreloadCommand() { super("eventreload", "bungeecore.softreload"); } - @Override - public void execute(CommandSender sender, String[] args) { + @Register + public void execute(CommandSender sender) { EventFight.loadAllComingFights(); } } -- 2.39.2