From ed9aa9082d7f322e8cd756ba266b32d31d68cb79 Mon Sep 17 00:00:00 2001 From: Lixfel Date: Wed, 28 Sep 2022 16:43:29 +0200 Subject: [PATCH] Fix 1.19 Tutorial rate Signed-off-by: Lixfel --- src/de/steamwar/bungeecore/commands/TutorialCommand.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/de/steamwar/bungeecore/commands/TutorialCommand.java b/src/de/steamwar/bungeecore/commands/TutorialCommand.java index 30cc296..d0ff147 100644 --- a/src/de/steamwar/bungeecore/commands/TutorialCommand.java +++ b/src/de/steamwar/bungeecore/commands/TutorialCommand.java @@ -26,6 +26,7 @@ import de.steamwar.bungeecore.inventory.SWListInv; import de.steamwar.bungeecore.inventory.SWStreamInv; import de.steamwar.bungeecore.sql.SteamwarUser; import de.steamwar.bungeecore.sql.Tutorial; +import de.steamwar.bungeecore.util.Chat19; import de.steamwar.command.SWCommand; import de.steamwar.command.TypeValidator; import net.md_5.bungee.api.ProxyServer; @@ -52,7 +53,7 @@ public class TutorialCommand extends SWCommand { @Register("rate") public void rate(ProxiedPlayer player) { - player.chat("/tutorial rate"); + Chat19.chat(player, "/tutorial rate"); } @Register("rate")