Potion without base potion type causes a null pointer stack trace
Fusezion opened this issue ยท 0 comments
Skript/Server Version
[18:48:20 INFO]: [Skript] Skript's aliases can be found here: https://github.com/SkriptLang/skript-aliases
[18:48:20 INFO]: [Skript] Skript's documentation can be found here: https://docs.skriptlang.org/
[18:48:20 INFO]: [Skript] Skript's tutorials can be found here: https://docs.skriptlang.org/tutorials
[18:48:20 INFO]: [Skript] Server Version: 1.20.6-130-5d8e53d (MC: 1.20.6)
[18:48:20 INFO]: [Skript] Skript Version: 2.8.5 (selfbuilt-unknown)
[18:48:20 INFO]: [Skript] Installed Skript Addons:
[18:48:20 INFO]: [Skript] - skript-gui v1.3 (https://github.com/APickledWalrus/skript-gui)
[18:48:20 INFO]: [Skript] - skript-reflect v2.4-dev2 (https://github.com/SkriptLang/skript-reflect)
[18:48:20 INFO]: [Skript] - SkBee v3.6.0-beta (https://github.com/ShaneBeee/SkBee)
[18:48:20 INFO]: [Skript] Installed dependencies: None
Bug Description
When obtaining potion effects of a potion without any base potion data skript will throw a null point exception
Expected Behavior
Skript to not error and instead just return nothing
Steps to Reproduce
on load:
set {_potion} to plain potion of mundane # removes the potion contents nbt
broadcast potion effects of {_potion}
Errors or Screenshots
https://gist.github.com/Fusezion/2db321830680f675ba5df5439df4f20b
Other
No response
Agreement
- I have read the guidelines above and affirm I am following them with this report.