Signed-off-by: Lixfel <agga-games@gmx.de>
Dieser Commit ist enthalten in:
Ursprung
d96cf47eff
Commit
a1500d4368
@ -101,14 +101,14 @@ public class GUI {
|
||||
node.setReplaceColor(!node.replaceColor());
|
||||
info(player, node, back);
|
||||
});
|
||||
inv.setItem(13, SWItem.getMaterial(node.allowReplay() ? "EYE_OF_ENDER" : "ENDER_PEAR"), "Replay Wiedergabe", Arrays.asList("§7Aktuell: " + (node.replaceColor()?"§aAn":"§4Aus"), "§7Zum §lAusschaulten", "§7anklicken"), false, clickType -> {
|
||||
inv.setItem(13, SWItem.getMaterial(node.allowReplay() ? "EYE_OF_ENDER" : "ENDER_PEARL"), "Replay Wiedergabe", Arrays.asList("§7Aktuell: " + (node.replaceColor()?"§aAn":"§4Aus"), "§7Zum §lAusschaulten", "§7anklicken"), false, clickType -> {
|
||||
if(node.allowReplay()) {
|
||||
SWInventory confInv = new SWInventory(player, 9, "Wiedergabe der Schematic Dauerhaft sperren");
|
||||
confInv.setItem(0, SWItem.getDye(1), (byte) 1, "§aAbbrechen", type -> {
|
||||
SWInventory confInv = new SWInventory(player, 9, "Wiedergabe dauerhaft sperren");
|
||||
confInv.setItem(0, SWItem.getDye(10), (byte) 10, "§aBestätigen", type -> {
|
||||
node.setAllowReplay(false);
|
||||
info(player, node, back);
|
||||
});
|
||||
confInv.setItem(8, SWItem.getDye(10), (byte) 10, "§cBestätigen", type -> {
|
||||
node.setAllowReplay(false);
|
||||
confInv.setItem(8, SWItem.getDye(1), (byte) 1, "§cAbbrechen", type -> {
|
||||
info(player, node, back);
|
||||
});
|
||||
confInv.open();
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren