#How do I calculate the number of ender eyes?

1 messages · Page 1 of 1 (latest)

wild carbon
#

set {_inv} to event-inventory
set {_amount} to amount of ender eyes in {_inv}

devout glen
#

i mean that certaintly looks like a good start

#

what happens when you run it?

wild carbon
#

It doesn't work and always outputs a value of 0

devout glen
#

Can I see the code?

#

Make sure you arent trying to bring {_amount} outside that event (as its a local variable)