Fixes Runtime with Determining Resource Amounts in Items (#47237)
Fixes Runtime with Determining Resource Amounts in Items (#47237)

* runtime begone

* web edit to take ninjas recommendation lol

Co-Authored-By: Emmett Gaines <010a9dc21b5b53308979b754ca880d7de0625801@gmail.com>

Jordie0608/tgstation,TalkingCactus/tgstation,JStheguy/tgstation,Cyberboss/tgstation,infinitystation/-tg-station,ShizCalev/tgstation,Bawhoppen/-tg-station,optimumtact/-tg-station,QualityVan/tgstation,MicroWorldwide/SS13-TG-station,PKPenguin321/-tg-station,Thunder12345/-tg-station,coiax/-tg-station,optimumtact/-tg-station,Bawhoppen/-tg-station,Razharas/-tg-station,TheVekter/-tg-station,Cruix/-tg-station,Cyberboss/tgstation,TheVekter/-tg-station,AnturK/-tg-station,SamuelRowe/-tg-station,HippieStation/HippieStation,PKPenguin321/-tg-station,Jordie0608/tgstation,infinitystation/-tg-station,JStheguy/tgstation,AnturK/-tg-station,Fox-McCloud/-tg-station,Mark9013100/tgstation-m9,Arianya/tgstation,MrStonedOne/tgstation,anconfuzedrock/tgstation,Fox-McCloud/-tg-station,JJRcop/tgstation,optimumtact/-tg-station,tgstation/tgstation,kingofkosmos/-tg-station,PKPenguin321/-tg-station,JStheguy/tgstation,ShizCalev/tgstation,Cruix/-tg-station,MrStonedOne/tgstation,MrStonedOne/tgstation,CPTANT/-tg-station,tgstation/tgstation,WJohn/-tg-station,MrStonedOne/tgstation,HippieStation/HippieStation,Razharas/-tg-station,Jordie0608/tgstation,XDTM/tgstation,Cyberboss/tgstation,QualityVan/tgstation,coiax/-tg-station,JJRcop/tgstation,TheVekter/-tg-station,GunHog/-tg-station,MicroWorldwide/SS13-TG-station,XDTM/tgstation,tgstation/-tg-station,Thunder12345/-tg-station,Jordie0608/tgstation,Cruix/-tg-station,ShizCalev/tgstation,JStheguy/tgstation,Fox-McCloud/-tg-station,kingofkosmos/-tg-station,coiax/-tg-station,coiax/-tg-station,tgstation/tgstation,anconfuzedrock/tgstation,anconfuzedrock/tgstation,Arianya/tgstation,infinitystation/-tg-station,HippieStation/HippieStation,MicroWorldwide/SS13-TG-station,WJohn/-tg-station,Arianya/tgstation,TalkingCactus/tgstation,tgstation/-tg-station,anconfuzedrock/tgstation,JJRcop/tgstation,GunHog/-tg-station,kingofkosmos/-tg-station,WJohn/-tg-station,Bawhoppen/-tg-station,tgstation/tgstation,SamuelRowe/-tg-station,QualityVan/tgstation,Mark9013100/tgstation-m9,coiax/-tg-station,Jordie0608/tgstation,anconfuzedrock/tgstation,erwgd/-tg-station,infinitystation/-tg-station,kingofkosmos/-tg-station,tgstation/tgstation,Bawhoppen/-tg-station,TheVekter/-tg-station,nicbn/tgstation,kingofkosmos/-tg-station,GunHog/-tg-station,Fox-McCloud/-tg-station,kingofkosmos/-tg-station,WJohn/-tg-station,anconfuzedrock/tgstation,Cruix/-tg-station,AnturK/-tg-station,CPTANT/-tg-station,MrStonedOne/tgstation,tgstation/tgstation,Cyberboss/tgstation,ShizCalev/tgstation,WJohn/-tg-station,TalkingCactus/tgstation,tgstation/-tg-station,optimumtact/-tg-station,tgstation/tgstation,Profakos/tgstation,CPTANT/-tg-station,Mark9013100/tgstation-m9,Cruix/-tg-station,Bawhoppen/-tg-station,ShizCalev/tgstation,JJRcop/tgstation,JStheguy/tgstation,GunHog/-tg-station,nicbn/tgstation,CPTANT/-tg-station,MrStonedOne/tgstation,Arianya/tgstation,nicbn/tgstation,Profakos/tgstation,tgstation/-tg-station,Mark9013100/tgstation-m9,HippieStation/HippieStation,nicbn/tgstation,MicroWorldwide/SS13-TG-station,PKPenguin321/-tg-station,JStheguy/tgstation,Fox-McCloud/-tg-station,CPTANT/-tg-station,MicroWorldwide/SS13-TG-station,Profakos/tgstation,Profakos/tgstation,Cyberboss/tgstation,CPTANT/-tg-station,PKPenguin321/-tg-station,CPTANT/-tg-station,HippieStation/HippieStation,PKPenguin321/-tg-station,nicbn/tgstation,Fox-McCloud/-tg-station,TalkingCactus/tgstation,tgstation/tgstation,CPTANT/-tg-station,WJohn/-tg-station,optimumtact/-tg-station,Profakos/tgstation,Jordie0608/tgstation,Cyberboss/tgstation,erwgd/-tg-station,Arianya/tgstation,Mark9013100/tgstation-m9,optimumtact/-tg-station,Bawhoppen/-tg-station,XDTM/tgstation,JJRcop/tgstation,MicroWorldwide/SS13-TG-station,Thunder12345/-tg-station,XDTM/tgstation,XDTM/tgstation,HippieStation/HippieStation,QualityVan/tgstation,Cruix/-tg-station,Cruix/-tg-station,GunHog/-tg-station,optimumtact/-tg-station,QualityVan/tgstation,coiax/-tg-station,ShizCalev/tgstation,QualityVan/tgstation,AnturK/-tg-station,Thunder12345/-tg-station,SamuelRowe/-tg-station,Cyberboss/tgstation,infinitystation/-tg-station,QualityVan/tgstation,JJRcop/tgstation,Thunder12345/-tg-station,Mark9013100/tgstation-m9,nicbn/tgstation,Bawhoppen/-tg-station,Razharas/-tg-station,Arianya/tgstation,Profakos/tgstation,Razharas/-tg-station,kingofkosmos/-tg-station,AnturK/-tg-station,XDTM/tgstation,Thunder12345/-tg-station,MrStonedOne/tgstation,anconfuzedrock/tgstation,Razharas/-tg-station,Arianya/tgstation,Mark9013100/tgstation-m9,infinitystation/-tg-station,SamuelRowe/-tg-station,coiax/-tg-station,Fox-McCloud/-tg-station,PKPenguin321/-tg-station,infinitystation/-tg-station,Razharas/-tg-station,Thunder12345/-tg-station,erwgd/-tg-station,Profakos/tgstation,Bawhoppen/-tg-station,infinitystation/-tg-station,MicroWorldwide/SS13-TG-station,TheVekter/-tg-station,HippieStation/HippieStation,JJRcop/tgstation,Razharas/-tg-station,TheVekter/-tg-station,AnturK/-tg-station,Cruix/-tg-station,MrStonedOne/tgstation,XDTM/tgstation,JStheguy/tgstation,PKPenguin321/-tg-station,ShizCalev/tgstation,nicbn/tgstation,Jordie0608/tgstation,GunHog/-tg-station,WJohn/-tg-station,Jordie0608/tgstation,MicroWorldwide/SS13-TG-station,AnturK/-tg-station,TheVekter/-tg-station,GunHog/-tg-station,Razharas/-tg-station,ShizCalev/tgstation