ChaosBauGUI #183
@ -134,7 +134,7 @@ public class CommandGUI implements CommandExecutor, Listener {
|
|||||||
traceGUI(player);
|
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))
|
if(Welt.noPermission(player, Permission.world))
|
||||||
return;
|
return;
|
||||||
player.closeInventory();
|
player.closeInventory();
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren