13
0

Fix tutorial rate
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful

Dieser Commit ist enthalten in:
Lixfel 2022-06-23 06:49:24 +02:00
Ursprung bf34d8a8ba
Commit 9490553062

Datei anzeigen

@ -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")));
}
}