#(Henry) IndexOutOfBoundsException error when apllying `<list>` to item's mech `potion_effects`

16 messages · Page 1 of 1 (latest)

old gorge
scenic hedgeBOT
#

Hi I'm AutoThreadBot! Don't mind me, I'll just be adding the helper team to this thread so they can see it. A human will get to you soon.

old gorge
wide terraceBOT
# old gorge !checklog https://paste.denizenscript.com/View/119109
Server Version

Paper version git-Paper-550 (MC: 1.19.4)-- (Current build :white_check_mark:)

Plugin Version(s)

Denizen: 1.3.0-SNAPSHOT (build 1801-REL) -- (Current build :white_check_mark:)

Checked For

@old gorge

UUID Version

4 (:white_check_mark: Online)

Java Version

21 :warning: - Only Java versions 17, 16, and 8 are fully supported

old gorge
#

this happens when executing command: /ex give potion[potion_effects=<list>]

versed remnant
#

shouldnt a potion with an empty potion effect list at least contain [base_type=empty]

#

i dont think it can have nothing

old gorge
#

just find a weird thing, i tried three ways to get a blank potion item, the commands are:

  • /ex narrate <item[potion]>
  • /ex narrate <item[potion].with_single[potion_effects=<item[potion].effects_data>]>
  • /ex narrate <item[potion].with_single[potion_effects=<list_single[<map>]>]>
    and here is the debug log: https://paste.denizenscript.com/View/119127
    only the third command cause errors
wide terraceBOT
# old gorge !checklog https://paste.denizenscript.com/View/119127
Server Version

Paper version git-Paper-550 (MC: 1.19.4)-- (Current build :white_check_mark:)

Plugin Version(s)

Denizen: 1.3.0-SNAPSHOT (build 1801-REL) -- (Current build :white_check_mark:)

Checked For

@old gorge

UUID Version

4 (:white_check_mark: Online)

Java Version

21 :warning: - Only Java versions 17, 16, and 8 are fully supported

vernal baneBOT
#
Changed to Bug

Thread is now a Bug thread. This indicates a core code bug that a developer must resolved, not an error message or other support topic. Please do not misuse the Bug label. Use </helpthread:1028674284870180883> to switch the thread back to a normal help thread if you are not 100% confident it is a code bug.

charred turret
#

fixed ref #commit-log

#

it was caused by the update to potion_effects depending on MC 1.20 and not properly handling older servers

vernal baneBOT
#
Thread Closing Reminder

Has your issue been resolved, or your question been answered?
If so, please use the </resolved:1028673926114594866> command to close your thread.
Or </invalid:1028673926898909185> if it's not possible to resolve.

If not yet resolved, please reply below to tell us what you still need.

(Note that if there is no reply for a few days, this thread will eventually close itself.)

#

@old gorge