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;