Simple work around to prevent script from crashing if item metadata does not exist. It adds temporary metadata to items that don't have them and sets the price to default price defined in config.lua
This is not permanent solution but rather a patch for issue that exists.
Issue with items not getting their metadata added when trying to stack them with items that have them still remains but script does not crash when it finds items with no metadata.
2 issues were created that reported this problem before: #13 #20
Simple work around to prevent script from crashing if item metadata does not exist. It adds temporary metadata to items that don't have them and sets the price to default price defined in config.lua
This is not permanent solution but rather a patch for issue that exists.
Issue with items not getting their metadata added when trying to stack them with items that have them still remains but script does not crash when it finds items with no metadata.
2 issues were created that reported this problem before: #13 #20