SteamWar/BauSystem2.0
Archiviert
12
0

Fix SlotCommand

Signed-off-by: yoyosource <yoyosource@nidido.de>
Dieser Commit ist enthalten in:
yoyosource 2021-08-24 17:48:23 +02:00
Ursprung 15ff88fe6f
Commit e7968bed60

Datei anzeigen

@ -40,6 +40,11 @@ public class SlotCommand extends SWCommand {
super("slot", "s"); super("slot", "s");
} }
@Register(help = true)
public void genericHelp(Player p) {
BauSystem.MESSAGE.send("OTHER_NOCLIP_SLOT_INFO", p);
}
@Register @Register
public void slotCommand(Player player, Integer slot) { public void slotCommand(Player player, Integer slot) {
if (slot < 1 || slot > 9) { if (slot < 1 || slot > 9) {