Can't Spawn a Firework
Skript/Server Version
[18:53:08 INFO]: [Skript] Skript's aliases can be found here: https://github.com/SkriptLang/skript-aliases
[18:53:08 INFO]: [Skript] Skript's documentation can be found here: https://docs.skriptlang.org/
[18:53:08 INFO]: [Skript] Skript's tutorials can be found here: https://docs.skriptlang.org/tutorials
[18:53:08 INFO]: [Skript] Server Version: git-Paper-496 (MC: 1.20.4)
[18:53:08 INFO]: [Skript] Skript Version: 2.8.6 (skriptlang-github)
[18:53:08 INFO]: [Skript] Installed Skript Addons: None
[18:53:08 INFO]: [Skript] Installed dependencies:
[18:53:08 INFO]: [Skript] - Vault v1.7.3-b131
[18:53:08 INFO]: [Skript] - WorldGuard v7.0.7+216b061
Bug Description
Hello SkriptLang Team, I've updated my Skript version from 2.7.4 to 2.8.6 recently and it seems that I can't spawn fireworks anymore
Expected Behavior
Expected to spawn a firework
Steps to Reproduce
After enabling Skript effect commands write !spawn firework at player in chat
Errors or Screenshots
No response
Other
No response
Agreement
- [X] I have read the guidelines above and affirm I am following them with this report.
This is likely the same problem that #6760 fixes. Try that nightly, see if it fixes it.
Sorry, I'm new to GitHub and I couldn't figure out how to try that pull request you mentioned
Sorry, I'm new to GitHub and I couldn't figure out how to try that pull request you mentioned
Click on the link to the PR, then click on the Checks tab, click on the Java 21 tab on the left, then download the skript-nightly under artifacts
Yeah, looks like we'll have to either force firework particle or firework spark for the particle name. Pickle's aware and will update the PR to fix this too.
I've updated the PR again to remove the firework conflict. If you use the latest build it should work. Let us know if not.
Perfect. I deleted my comment by accident. Thank you so much
I've updated the PR again to remove the
fireworkconflict. If you use the latest build it should work. Let us know if not.
I will test it in few moments
Not working
If you use the latest build it should work. Let us know if not.
Skript Version: 2.8.6-nightly-9326c82 (skriptlang-nightly) is that the latest build?
This should be it https://github.com/SkriptLang/Skript/actions/runs/9353758434
OK I tried that and it still not letting me to spawn fireworks
is it still printing an error?
It doesn't display any error
command test:
trigger:
broadcast "Started"
loop 10 times:
spawn a firework at player
broadcast "%last spawned entity%"
wait 5 ticks
broadcast "The End"
Also this is what send when using getClass method
I tried to do some debugging because I thought it would be parsing error but no result at all
Seems to be due to FIREWORK_ROCKET being marked as non-spawnable by Bukkit, while clearly being able to be spawned.
@Dsa-123 Are you able to test with the latest nightly build from https://github.com/SkriptLang/Skript/pull/6764? It should resolve this issue.