forked from GeyserMC/Geyser
parent
46c34842d8
commit
9643b208f3
1 changed files with 4 additions and 0 deletions
|
@ -72,6 +72,10 @@ public class FireworkEntity extends Entity {
|
||||||
}
|
}
|
||||||
|
|
||||||
CompoundTag fireworks = tag.get("Fireworks");
|
CompoundTag fireworks = tag.get("Fireworks");
|
||||||
|
if (fireworks == null) {
|
||||||
|
// Thank you Mineplex very cool
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
NbtMapBuilder fireworksBuilder = NbtMap.builder();
|
NbtMapBuilder fireworksBuilder = NbtMap.builder();
|
||||||
if (fireworks.get("Flight") != null) {
|
if (fireworks.get("Flight") != null) {
|
||||||
|
|
Loading…
Reference in a new issue