mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-06 06:01:46 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user