From 627a35e3648485022a69954b7e7b9dbea5e490d1 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Fri, 5 Apr 2024 09:43:30 -0400 Subject: [PATCH] Update to devcmd --- src/engine/devcmd/cmds/SlotNpcCmd.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/devcmd/cmds/SlotNpcCmd.java b/src/engine/devcmd/cmds/SlotNpcCmd.java index 576e0165..0efbedff 100644 --- a/src/engine/devcmd/cmds/SlotNpcCmd.java +++ b/src/engine/devcmd/cmds/SlotNpcCmd.java @@ -90,7 +90,7 @@ public class SlotNpcCmd extends AbstractDevCmd { // User requests list of current groups. - if (args[0].equalsIgnoreCase("LIST")) { + if (args.length == 0 || args[0].equalsIgnoreCase("LIST")) { outString = "Current: " + contract.allowedBuildings;