Dieser Commit ist enthalten in:
Ursprung
bc5542204a
Commit
310c28d54b
@ -68,11 +68,7 @@ public class GUI {
|
||||
}
|
||||
|
||||
inv.setItem(9, SWItem.getMaterial("LEASH"), "§eZurück", clickType -> {
|
||||
if(back != null) {
|
||||
back.reOpen();
|
||||
} else {
|
||||
list(player);
|
||||
}
|
||||
back.reOpen();
|
||||
});
|
||||
|
||||
if(node.getOwner() == user.getId()){
|
||||
@ -119,10 +115,9 @@ public class GUI {
|
||||
});
|
||||
selector.open();
|
||||
});
|
||||
Material finalMat = mat;
|
||||
inv.setItem(16, Material.NAME_TAG, "§eUmbenennen", clickType -> {
|
||||
SWAnvilInv anvilInv = new SWAnvilInv(player, node.getName() + " umbenennen", node.getName());
|
||||
anvilInv.setItem(finalMat);
|
||||
anvilInv.setItem(mat);
|
||||
anvilInv.setCallback(s -> {
|
||||
SafeSchematicNode.Result result = SafeSchematicNode.setName(user, node, s);
|
||||
if(result.isSuccessful()) {
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren