Changesset
Dieser Commit ist enthalten in:
Ursprung
7c4b944c4d
Commit
bd7fbb33a2
@ -134,7 +134,7 @@ public class CommandGUI implements CommandExecutor, Listener {
|
||||
traceGUI(player);
|
||||
});
|
||||
|
||||
inv.setItem(22, Material.DISPENSER, "§7Auto-Loader", getNoPermsLore(Collections.emptyList(), player, "§cDu hast keine Worldrechte", Permission.world), false, clickType -> {
|
||||
inv.setItem(22, Material.DISPENSER, "§7Auto-Loader", getNoPermsLore(Arrays.asList((AutoLoader.hasLoader(player) ? "§aan" : "§caus")), player, "§cDu hast keine Worldrechte", Permission.world), false, clickType -> {
|
||||
if(Welt.noPermission(player, Permission.world))
|
||||
return;
|
||||
player.closeInventory();
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren