From 49dd7c0e219a676e9f9963fd994ca0d7ac66353e Mon Sep 17 00:00:00 2001 From: Vortrex <3858226+VortrexFTW@users.noreply.github.com> Date: Tue, 25 Oct 2022 22:40:13 -0500 Subject: [PATCH] Fix wrong cmd handler for item type capacity --- scripts/server/command.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/server/command.js b/scripts/server/command.js index c4708a4f..d5342c76 100644 --- a/scripts/server/command.js +++ b/scripts/server/command.js @@ -361,7 +361,7 @@ function loadCommands() { new CommandData("itemtypemaxval", setItemTypeMaxValueCommand, " ", getStaffFlagValue("ManageItems"), true, false, "Sets the maximum value an item type can have"), new CommandData("itemtypeorderval", setItemTypeOrderValueCommand, " ", getStaffFlagValue("ManageItems"), true, false, "Sets the initial value of an item type when ordered by a business"), new CommandData("itemtypesize", setItemTypeSizeCommand, " ", getStaffFlagValue("ManageItems"), true, false, "Sets the item type's size"), - new CommandData("itemtypecapacity", setItemTypeSizeCommand, " ", getStaffFlagValue("ManageItems"), true, false, "Sets an item type's capacity (how much it can hold)"), + new CommandData("itemtypecapacity", setItemTypeCapacityCommand, " ", getStaffFlagValue("ManageItems"), true, false, "Sets an item type's capacity (how much it can hold)"), new CommandData("delplritem", deleteItemInPlayerInventoryCommand, " ", getStaffFlagValue("ManageItems"), true, false, "Removes an item by slot from a player's personal inventory"), new CommandData("delplritems", deleteAllItemsInPlayerInventoryCommand, "", getStaffFlagValue("ManageItems"), true, false, "Removes all items from a player's personal inventory"),