Dieser Commit ist enthalten in:
Ursprung
bf34d8a8ba
Commit
9490553062
@ -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")));
|
||||
}
|
||||
}
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren