Hotfix ScriptCommand
Signed-off-by: yoyosource <yoyosource@nidido.de>
Dieser Commit ist enthalten in:
Ursprung
c320e2e097
Commit
8d23831687
@ -1,5 +1,6 @@
|
||||
package de.steamwar.bausystem.features.script;
|
||||
|
||||
import de.steamwar.bausystem.BauSystem;
|
||||
import de.steamwar.bausystem.linkage.LinkageType;
|
||||
import de.steamwar.bausystem.linkage.Linked;
|
||||
import de.steamwar.command.SWCommand;
|
||||
@ -68,6 +69,10 @@ public class ScriptCommand extends SWCommand {
|
||||
}
|
||||
|
||||
SWItem swItem = new SWItem(specialCommand.material(), "§7Command: §e" + specialCommand.command(), strings, false, clickType -> {
|
||||
p.sendMessage("§eScript Command§8: §e" + specialCommand.command());
|
||||
for (String s : specialCommand.description()) {
|
||||
p.sendMessage("§7" + s);
|
||||
}
|
||||
});
|
||||
swItems.add(new SWListInv.SWListEntry<>(swItem, null));
|
||||
});
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren