Solved Fireworks error

Discussion in 'Spigot Help' started by MrWonka, Jun 17, 2017.

  1. Upon using a command block to summon a firework this happens
    17.06 04:46:26 [Disconnect] User MrWonka has disconnected, reason: Internal Exception: io.netty.handler.codec.EncoderException: java.lang.RuntimeException: An internal error occured.
     
  2. Minecraft Version? Spigot build? Network speed?
     
  3. 1.12, running the latest spigot build, 75Mbps
     
  4. Does only the player that releases the firework get kicked? What are your plugins?
     
  5. The syntax to summon a "fireworks_rocket" changed in 1.12. The values for "Colors:" need to be prefixed with I; now:

    Billy found the fix for this back on May 29th: https://hub.spigotmc.org/jira/browse/SPIGOT-3278


    Sample Command Block code:

    /summon fireworks_rocket ~ ~ ~ {LifeTime:0,FireworksItem:{id:fireworks,Count:1,tag:{Fireworks:{Explosions:[{Type:1,Flicker:1,Trail:0,Colors:[I;16711680,16777215,3538701],FadeColors:[16777215]}]}}}}
     
    • Useful Useful x 2
  6. That is probably the most pointless change ever made to MC. Thanks for the help!
     
    • Agree Agree x 2