diff --git a/src/de/steamwar/tutorial/commands/TutorialCommand.java b/src/de/steamwar/tutorial/commands/TutorialCommand.java index 4ef7edd..f3824d9 100644 --- a/src/de/steamwar/tutorial/commands/TutorialCommand.java +++ b/src/de/steamwar/tutorial/commands/TutorialCommand.java @@ -1,7 +1,9 @@ package de.steamwar.tutorial.commands; import de.steamwar.command.SWCommand; -import de.steamwar.comms.packets.ExecuteCommandPacket; +import de.steamwar.network.NetworkSender; +import de.steamwar.network.packets.client.ExecuteCommandPacket; +import de.steamwar.sql.SteamwarUser; import org.bukkit.entity.Player; public class TutorialCommand extends SWCommand { @@ -16,6 +18,6 @@ public class TutorialCommand extends SWCommand { } public static void rate(Player player) { - new ExecuteCommandPacket(player, "tutorial rate " + System.getProperty("tutorial")).send(player); + NetworkSender.send(new ExecuteCommandPacket(SteamwarUser.get(player.getUniqueId()).getId(), "tutorial rate " + System.getProperty("tutorial"))); } }