geforkt von SteamWar/BungeeCore
Merge pull request 'Add tutorial rate command' (#319) from Tutorial into master
Reviewed-on: SteamWar/BungeeCore#319 Reviewed-by: Lixfel <lixfel@steamwar.de>
Dieser Commit ist enthalten in:
Commit
cca097b7ef
@ -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 net.md_5.bungee.BungeeCord;
|
||||
import net.md_5.bungee.api.CommandSender;
|
||||
import net.md_5.bungee.api.connection.ProxiedPlayer;
|
||||
|
||||
@ -52,7 +53,7 @@ public class TutorialCommand extends BasicCommand {
|
||||
switch(args[0].toLowerCase()) {
|
||||
case "rate":
|
||||
if(args.length < 2) {
|
||||
BungeeCore.get().getLogger().log(Level.SEVERE, "rate executed with missing argument");
|
||||
player.chat("/tutorial rate");
|
||||
return;
|
||||
}
|
||||
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren