Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Console commands great! One found issue -- creating dragon_breath celebration #29

Closed
gmalone opened this issue Feb 13, 2020 · 3 comments

Comments

@gmalone
Copy link

gmalone commented Feb 13, 2020

All effects and styles I've tried so far from console work fine except for when using dragon_breath celebration. Doing so generates the following in an endless stream in console, forcing server restart: --FYI--
[05:59:47 WARN]: [PlayerParticles] Task #23490 for PlayerParticles v7.0 generated an exception java.lang.NullPointerException: null at dev.esophose.playerparticles.manager.ParticleManager.displayParticles(ParticleManager.java:187) ~[?:?] at dev.esophose.playerparticles.styles.ParticleStyleCelebration$1.run(ParticleStyleCelebration.java:126) ~[?:?] at org.bukkit.craftbukkit.v1_14_R1.scheduler.CraftTask.run(CraftTask.java:84) ~[patched_1.14.4.jar:git-Paper-243] at org.bukkit.craftbukkit.v1_14_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:452) ~[patched_1.14.4.jar:git-Paper-243] at net.minecraft.server.v1_14_R1.MinecraftServer.b(MinecraftServer.java:1171) ~[patched_1.14.4.jar:git-Paper-243] at net.minecraft.server.v1_14_R1.DedicatedServer.b(DedicatedServer.java:417) ~[patched_1.14.4.jar:git-Paper-243] at net.minecraft.server.v1_14_R1.MinecraftServer.a(MinecraftServer.java:1098) ~[patched_1.14.4.jar:git-Paper-243] at net.minecraft.server.v1_14_R1.MinecraftServer.run(MinecraftServer.java:925) ~[patched_1.14.4.jar:git-Paper-243] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_221] [05:59:47 WARN]: [PlayerParticles] Task #23524 for PlayerParticles v7.0 generated an exception java.lang.NullPointerException: null at dev.esophose.playerparticles.manager.ParticleManager.displayParticles(ParticleManager.java:187) ~[?:?] at dev.esophose.playerparticles.styles.ParticleStyleCelebration$1.run(ParticleStyleCelebration.java:126) ~[?:?] at org.bukkit.craftbukkit.v1_14_R1.scheduler.CraftTask.run(CraftTask.java:84) ~[patched_1.14.4.jar:git-Paper-243] at org.bukkit.craftbukkit.v1_14_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:452) ~[patched_1.14.4.jar:git-Paper-243] at net.minecraft.server.v1_14_R1.MinecraftServer.b(MinecraftServer.java:1171) ~[patched_1.14.4.jar:git-Paper-243] at net.minecraft.server.v1_14_R1.DedicatedServer.b(DedicatedServer.java:417) ~[patched_1.14.4.jar:git-Paper-243] at net.minecraft.server.v1_14_R1.MinecraftServer.a(MinecraftServer.java:1098) ~[patched_1.14.4.jar:git-Paper-243] at net.minecraft.server.v1_14_R1.MinecraftServer.run(MinecraftServer.java:925) ~[patched_1.14.4.jar:git-Paper-243] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_221]
Upon restart it is apparent that no particles instance was generated.

@Esophose
Copy link
Member

Issue has already been fixed in commit 1c834c7
Will be posted on Spigot in about 12 hours as v7.1.

Problem is with the celebration style being used as a fixed effect when the player (or console) that owns it is offline.

@Esophose
Copy link
Member

Here's the jar that will be uploaded in case you want the fix early
playerparticles-7.1.zip

@gmalone
Copy link
Author

gmalone commented Feb 13, 2020

Thanks. Got the jar. Appreciate it.

@gmalone gmalone closed this as completed Feb 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants