Dieser Commit ist enthalten in:
Ursprung
a4c0171f60
Commit
794be6cdf9
@ -851,6 +851,7 @@ OTHER_TPS_SINGLE = §8TPS: §e{0}
|
||||
OTHER_WORLDSPAWN_HELP=§8/§eworldspawn §8-§e Teleportiere dich zum Spawn
|
||||
# DebugStick
|
||||
DEBUG-STICK_COMMAND_HELP=§8/§edebugstick §8-§7 Erhalte einen DebugStick
|
||||
DEBUG-STICK_NAME=DEBUGSTIC
|
||||
# StructureVoid
|
||||
STRUCTURE-VOID_COMMAND_HELP=§8/§estructureVoid §8-§7 Erhalte ein StructureVoid
|
||||
# NightVision
|
||||
|
@ -19,6 +19,7 @@
|
||||
|
||||
package de.steamwar.bausystem.features.util.items;
|
||||
|
||||
import de.steamwar.bausystem.BauSystem;
|
||||
import de.steamwar.bausystem.Permission;
|
||||
import de.steamwar.bausystem.config.ColorConfig;
|
||||
import de.steamwar.bausystem.linkage.specific.BauGuiItem;
|
||||
@ -39,7 +40,7 @@ public class DebugstickBauGuiItem extends BauGuiItem {
|
||||
|
||||
@Override
|
||||
public ItemStack getItem(Player player) {
|
||||
return new SWItem(Material.DEBUG_STICK, ColorConfig.HIGHLIGHT + "Debugstick").getItemStack();
|
||||
return new SWItem(Material.DEBUG_STICK, ColorConfig.HIGHLIGHT + BauSystem.MESSAGE.parse("DEBUG-STICK_NAME", player)).getItemStack();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -150,7 +150,7 @@ private def await(Process proc) {
|
||||
}
|
||||
|
||||
private def shell(String command) {
|
||||
if (operatingSystem == "unix") {
|
||||
if (operatingSystem == "unix" && false) {
|
||||
return ['bash', '-c', command].execute()
|
||||
} else {
|
||||
return ["cmd", "/c", command].execute()
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren