Content of Server Log Paste #119109: Denizen Debug Logs From A Minecraft Server... pasted 2024/01/02 05:18:40 UTC-08:00, Paste length: 7937 characters across 77 lines, Content: Java Version: 21Up-time: 1m 52s
#(Henry) IndexOutOfBoundsException error when apllying `<list>` to item's mech `potion_effects`
16 messages · Page 1 of 1 (latest)
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.
Content of Server Log Paste #119109: Denizen Debug Logs From A Minecraft Server... pasted 2024/01/02 05:18:40 UTC-08:00, Paste length: 7937 characters across 77 lines, Content: Java Version: 21Up-time: 1m 52s
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
this happens when executing command: /ex give potion[potion_effects=<list>]
shouldnt a potion with an empty potion effect list at least contain [base_type=empty]
i dont think it can have nothing
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
Content of Server Log Paste #119127: Denizen Debug Logs From A Minecraft Server... pasted 2024/01/02 14:02:13 UTC-08:00, Paste length: 3179 characters across 35 lines, Content: Java Version: 21Up-time: 44s
Content of Server Log Paste #119127: Denizen Debug Logs From A Minecraft Server... pasted 2024/01/02 14:02:13 UTC-08:00, Paste length: 3179 characters across 35 lines, Content: Java Version: 21Up-time: 44s
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
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.
fixed ref #commit-log
it was caused by the update to potion_effects depending on MC 1.20 and not properly handling older servers
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