Remove bizitem msg (will auto show items on buy cmd

This commit is contained in:
Vortrex
2021-03-27 06:02:19 -05:00
parent 7001336ba6
commit cb8a9189bb

View File

@@ -1172,13 +1172,11 @@ function buyFromBusinessCommand(command, params, client) {
if(typeof getBusinessData(businessId).floorItemCache[itemSlot] == "undefined") { if(typeof getBusinessData(businessId).floorItemCache[itemSlot] == "undefined") {
messagePlayerError(client, `Item slot ${itemSlot} doesn't exist!`); messagePlayerError(client, `Item slot ${itemSlot} doesn't exist!`);
messagePlayerTip(client, `Use /bizitems to see what the business has for sale.`);
return false; return false;
} }
if(getBusinessData(businessId).floorItemCache[itemSlot] == -1) { if(getBusinessData(businessId).floorItemCache[itemSlot] == -1) {
messagePlayerError(client, `Item slot ${itemSlot} slot is empty!`); messagePlayerError(client, `Item slot ${itemSlot} slot is empty!`);
messagePlayerTip(client, `Use /bizitems to see what the business has for sale.`);
return false; return false;
} }