If you attempt to use a firework in Multiplayer it will disconnect you from the server and then not let you join again.
EDIT: This only occurs when you are using a spawned in item 401.
Linked issues
duplicates
Comments
I need to correct my statement. It disconnects you from the server and will not let you join again.
Duplicate of MC-4715.
Please attach the crash report.