- Thread Author
- #1
I have a feeling this will be something related to varps ? But i'd like to know how to detect different sized loot piles e.g coins or arrows, if "varps" is correct can someone give me a point in the right direction <3
For anyone who has the same question, its possible by simply doing:
I think this will work with coins in the same way ( only tested with arrows etc). Be sure to check if ammo (GroundItem) is null
For anyone who has the same question, its possible by simply doing:
Code:
if (ammo != null) {
if (ammo.getQuantity() > 8) {
}
}
I think this will work with coins in the same way ( only tested with arrows etc). Be sure to check if ammo (GroundItem) is null