Dieser Commit ist enthalten in:
Ursprung
e649e40876
Commit
933ea78752
@ -44,7 +44,7 @@ public class StopCommand extends SWCommand {
|
|||||||
Bukkit.getServer().shutdown();
|
Bukkit.getServer().shutdown();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ClassMapper(value = CommandSender.class, local = true)
|
@ClassValidator(value = CommandSender.class, local = true)
|
||||||
public TypeValidator<CommandSender> validator() {
|
public TypeValidator<CommandSender> validator() {
|
||||||
return (commandSender, sender, messageSender) -> {
|
return (commandSender, sender, messageSender) -> {
|
||||||
if (!(sender instanceof Player)) {
|
if (!(sender instanceof Player)) {
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren