Dieser Commit ist enthalten in:
Ursprung
19020e6e6a
Commit
00245f5bf5
@ -189,9 +189,8 @@ public class GUI {
|
|||||||
SteamwarUser user = getUser(p);
|
SteamwarUser user = getUser(p);
|
||||||
SWInventory inv = new SWInventory(p, 9, SchematicSystem.MESSAGE.parse("GUI_DELETE_OWN_TITLE", p, schem.generateBreadcrumbs(user)));
|
SWInventory inv = new SWInventory(p, 9, SchematicSystem.MESSAGE.parse("GUI_DELETE_OWN_TITLE", p, schem.generateBreadcrumbs(user)));
|
||||||
inv.setItem(0, SWItem.getDye(1), (byte) 1, SchematicSystem.MESSAGE.parse("CONFIRM", p), click -> {
|
inv.setItem(0, SWItem.getDye(1), (byte) 1, SchematicSystem.MESSAGE.parse("CONFIRM", p), click -> {
|
||||||
schem.delete();
|
p.performCommand("schematic delete " + schem.generateBreadcrumbs(user));
|
||||||
|
|
||||||
SchematicSystem.MESSAGE.send("GUI_DELETE_OWN_DELETED", p, schem.generateBreadcrumbs(user));
|
|
||||||
if(back != null) {
|
if(back != null) {
|
||||||
if(schem.isDir()) {
|
if(schem.isDir()) {
|
||||||
back.reOpenDirUp();
|
back.reOpenDirUp();
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren