From 1c5ae513a84cdfcf483d29fd92275515974428b5 Mon Sep 17 00:00:00 2001 From: Vortrex <3858226+VortrexFTW@users.noreply.github.com> Date: Thu, 19 May 2022 18:56:03 -0500 Subject: [PATCH] Don't cache ground plants (not finished) --- scripts/server/item.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/server/item.js b/scripts/server/item.js index 763eb535..30e22f49 100644 --- a/scripts/server/item.js +++ b/scripts/server/item.js @@ -1385,7 +1385,7 @@ function setAllItemTypeDataIndexes() { function cacheAllGroundItems() { clearArray(getServerData().groundItemCache); getServerData().groundItemCache = getServerData().items.filter(item => item.ownerType == VRR_ITEM_OWNER_GROUND); - getServerData().groundPlantCache = getServerData().items.filter(item => item.ownerType == VRR_ITEM_OWNER_PLANT); + //getServerData().groundPlantCache = getServerData().items.filter(item => item.ownerType == VRR_ITEM_OWNER_PLANT); } // ===========================================================================