Signed-off-by: yoyosource <yoyosource@nidido.de>
Dieser Commit ist enthalten in:
Ursprung
8173703855
Commit
5cb99349b0
@ -81,7 +81,11 @@ public class ScriptCommand extends SWCommand {
|
|||||||
if (o != null) {
|
if (o != null) {
|
||||||
BauSystem.MESSAGE.send("SCRIPT_GUI_COMMAND_CHAT", p, o.command());
|
BauSystem.MESSAGE.send("SCRIPT_GUI_COMMAND_CHAT", p, o.command());
|
||||||
for (String s : o.description()) {
|
for (String s : o.description()) {
|
||||||
BauSystem.MESSAGE.send(s.isEmpty() ? "PREFIX" : s, p);
|
if (s.isEmpty()) {
|
||||||
|
BauSystem.MESSAGE.sendPrefixless("PREFIX", p);
|
||||||
|
} else {
|
||||||
|
BauSystem.MESSAGE.send(s, p);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
p.closeInventory();
|
p.closeInventory();
|
||||||
}
|
}
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren