From 42bb5278441480f86617ff5a916fd5a0520978b0 Mon Sep 17 00:00:00 2001 From: Vortrex <3858226+VortrexFTW@users.noreply.github.com> Date: Tue, 26 Jul 2022 00:57:10 -0500 Subject: [PATCH] Rename biz dealership handler function --- scripts/server/business.js | 2 +- scripts/server/command.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/server/business.js b/scripts/server/business.js index 8c036c4b..b1b4a6d5 100644 --- a/scripts/server/business.js +++ b/scripts/server/business.js @@ -1297,7 +1297,7 @@ function giveDefaultItemsToBusinessCommand(command, params, client) { * @return {bool} Whether or not the command was successful * */ -function setBusinessEntranceLabelToDealershipCommand(command, params, client) { +function setBusinessDealershipCommand(command, params, client) { let businessId = getPlayerBusiness(client); if (!getBusinessData(businessId)) { diff --git a/scripts/server/command.js b/scripts/server/command.js index 48bc9f58..13025d1f 100644 --- a/scripts/server/command.js +++ b/scripts/server/command.js @@ -145,7 +145,7 @@ function loadCommands() { new CommandData("bizdelflooritems", deleteBusinessFloorItemsCommand, "", getStaffFlagValue("ManageItems"), true, true, "Destroys all items on the business floor (for-sale items)"), new CommandData("bizdelstorageitems", deleteBusinessStorageItemsCommand, "", getStaffFlagValue("ManageItems"), true, true, "Destroys all items in the business's storage"), new CommandData("bizdealership", setBusinessEntranceLabelToDealershipCommand, "", getStaffFlagValue("None"), true, true, "Sets the business's door label to vehicle dealership"), - new CommandData("bizpaintball", setBusinessPaintBallCommand, "", getStaffFlagValue("None"), true, true, "Sets the business to a paintball arena"), + //new CommandData("bizpaintball", setBusinessPaintBallCommand, "", getStaffFlagValue("None"), true, true, "Sets the business to a paintball arena"), ], chat: [ new CommandData("me", meActionCommand, "", getStaffFlagValue("None"), true, false, "Shows a custom action message in chat"),