Dieser Commit ist enthalten in:
Ursprung
95ed6925da
Commit
91f7f5edfc
@ -26,6 +26,7 @@ import de.steamwar.bungeecore.inventory.SWListInv;
|
|||||||
import de.steamwar.bungeecore.inventory.SWStreamInv;
|
import de.steamwar.bungeecore.inventory.SWStreamInv;
|
||||||
import de.steamwar.bungeecore.sql.SteamwarUser;
|
import de.steamwar.bungeecore.sql.SteamwarUser;
|
||||||
import de.steamwar.bungeecore.sql.Tutorial;
|
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.CommandSender;
|
||||||
import net.md_5.bungee.api.connection.ProxiedPlayer;
|
import net.md_5.bungee.api.connection.ProxiedPlayer;
|
||||||
|
|
||||||
@ -52,7 +53,7 @@ public class TutorialCommand extends BasicCommand {
|
|||||||
switch(args[0].toLowerCase()) {
|
switch(args[0].toLowerCase()) {
|
||||||
case "rate":
|
case "rate":
|
||||||
if(args.length < 2) {
|
if(args.length < 2) {
|
||||||
BungeeCore.get().getLogger().log(Level.SEVERE, "rate executed with missing argument");
|
BungeeCord.getInstance().getPluginManager().dispatchCommand(sender, "tutorial rate");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren