diff --git a/src/engine/devcmd/cmds/SlotNpcCmd.java b/src/engine/devcmd/cmds/SlotNpcCmd.java index dcf2631e..38b06c7e 100644 --- a/src/engine/devcmd/cmds/SlotNpcCmd.java +++ b/src/engine/devcmd/cmds/SlotNpcCmd.java @@ -53,7 +53,7 @@ public class SlotNpcCmd extends AbstractDevCmd { if (stringIndex == -1) return false; - // Validate we have a corrent building group name + // Validate we have a correct building group name for (BuildingGroup group : BuildingGroup.values()) { if (group.name().equals(userInput[0].toUpperCase())) @@ -114,8 +114,7 @@ public class SlotNpcCmd extends AbstractDevCmd { if (!DbManager.ContractQueries.updateAllowedBuildings(contract, contract.getAllowedBuildings().toLong())) { Logger.error("Failed to update Database for Contract Allowed buildings"); - ChatManager.chatSystemError(pc, "Failed to update Database for Contract Allowed buildings. " + - "Contact A CCR, oh wait, you are a CCR. You're Fubared."); + ChatManager.chatSystemError(pc, "Failed to update Database for Contract Allowed buildings. "); return; } @@ -125,8 +124,7 @@ public class SlotNpcCmd extends AbstractDevCmd { contract.getAllowedBuildings().remove(buildingGroup); if (!DbManager.ContractQueries.updateAllowedBuildings(contract, contract.getAllowedBuildings().toLong())) { Logger.error("Failed to update Database for Contract Allowed buildings"); - ChatManager.chatSystemError(pc, "Failed to update Database for Contract Allowed buildings. " + - "Contact A CCR, oh wait, you are a CCR. You're Fubared."); + ChatManager.chatSystemError(pc, "Failed to update Database for Contract Allowed buildings. "); return; } @@ -138,14 +136,14 @@ public class SlotNpcCmd extends AbstractDevCmd { @Override protected String _getHelpString() { - return "Sets a building slot on a targeted npc"; + return "Toggles a building group on a targeted npc"; } // Class methods @Override protected String _getUsageString() { - String usage = "/npcslot [BuildingType] on-off \n"; + String usage = "/npcslot [BuildingGroup] on-off \n"; for (BuildingGroup group : BuildingGroup.values()) { usage += group.name() + ' ';