Signed-off-by: yoyosource <yoyosource@nidido.de>
Dieser Commit ist enthalten in:
Ursprung
599d717602
Commit
2dd5e16bda
@ -137,28 +137,28 @@ public class TNTElementGUI {
|
||||
inv.setItem(23, new SWItem(Material.OAK_BUTTON, BauSystem.MESSAGE.parse("SIMULATOR_ALIGNMENT_NEGATIVE_Z", player), clickType -> { // Z negative
|
||||
if (clickType == ClickType.DOUBLE_CLICK) return;
|
||||
Vector position = tntElement.getOwnPosition();
|
||||
align(position, new Vector(0, 0, 0.49));
|
||||
align(position, new Vector(0.5, 0, 0.49));
|
||||
tntElement.setPosition(position);
|
||||
tntElement.change();
|
||||
}));
|
||||
inv.setItem(25, new SWItem(Material.OAK_BUTTON, BauSystem.MESSAGE.parse("SIMULATOR_ALIGNMENT_POSITIVE_Z", player), clickType -> { // Z positive
|
||||
if (clickType == ClickType.DOUBLE_CLICK) return;
|
||||
Vector position = tntElement.getOwnPosition();
|
||||
align(position, new Vector(0, 0, 0.51));
|
||||
align(position, new Vector(0.5, 0, 0.51));
|
||||
tntElement.setPosition(position);
|
||||
tntElement.change();
|
||||
}));
|
||||
inv.setItem(15, new SWItem(Material.OAK_BUTTON, BauSystem.MESSAGE.parse("SIMULATOR_ALIGNMENT_POSITIVE_X", player), clickType -> { // X positive
|
||||
if (clickType == ClickType.DOUBLE_CLICK) return;
|
||||
Vector position = tntElement.getOwnPosition();
|
||||
align(position, new Vector(0.51, 0, 0));
|
||||
align(position, new Vector(0.51, 0, 0.5));
|
||||
tntElement.setPosition(position);
|
||||
tntElement.change();
|
||||
}));
|
||||
inv.setItem(33, new SWItem(Material.OAK_BUTTON, BauSystem.MESSAGE.parse("SIMULATOR_ALIGNMENT_NEGATIVE_X", player), clickType -> { // X negative
|
||||
if (clickType == ClickType.DOUBLE_CLICK) return;
|
||||
Vector position = tntElement.getOwnPosition();
|
||||
align(position, new Vector(0.49, 0, 0));
|
||||
align(position, new Vector(0.49, 0, 0.5));
|
||||
tntElement.setPosition(position);
|
||||
tntElement.change();
|
||||
}));
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren