Fixing the pickup ability

pickup ability was accidentally only grabbing the item by number, rather than by value. This change corrects it so it now grabs item by name. Credit to McPNorf on Reddit
This commit is contained in:
RonarsCorruption
2023-04-14 07:48:26 -04:00
committed by GitHub
parent 3b6d636e72
commit b8df545ebd

View File

@@ -688,7 +688,7 @@ end
def pbDynamicItemList(*args)
ret = []
for i in 0...args.length
ret.push(i) if GameData::Item.exists?(args[i])
ret.push(args[i]) if GameData::Item.exists?(args[i])
end
return ret
end