PDA

View Full Version : getQuantity() doesn't work on infinite bags.



Mark
05-25-2017, 07:26 PM
When calling getQuantity() on an infinite bag, it returns 99 whether it's got an item inside it or not.

I'm not sure if there is actually a way to check whether a infinite bag contains an object, other than just using takeObject() on it and then immediately deleting the object (which is less than ideal). :L

MrStump
05-26-2017, 12:08 AM
There is not that I have been able to find, it would be a nice feature to add. Even if getQuantity() returned 0 if the bag had no object in it and 99 if it did