SteamWar/BauSystem2.0
Archiviert
12
0

Hotfix ScriptCommand

Signed-off-by: yoyosource <yoyosource@nidido.de>
Dieser Commit ist enthalten in:
yoyosource 2021-08-05 16:51:12 +02:00
Ursprung c320e2e097
Commit 8d23831687

Datei anzeigen

@ -1,5 +1,6 @@
package de.steamwar.bausystem.features.script; package de.steamwar.bausystem.features.script;
import de.steamwar.bausystem.BauSystem;
import de.steamwar.bausystem.linkage.LinkageType; import de.steamwar.bausystem.linkage.LinkageType;
import de.steamwar.bausystem.linkage.Linked; import de.steamwar.bausystem.linkage.Linked;
import de.steamwar.command.SWCommand; 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 -> { 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)); swItems.add(new SWListInv.SWListEntry<>(swItem, null));
}); });