geforkt von Mirrors/Paper
SPIGOT-2779: NPE when spawning firework with plugin
Dieser Commit ist enthalten in:
Ursprung
a0269d8e72
Commit
17e6e857b5
@ -1149,7 +1149,7 @@ public class CraftWorld implements World {
|
|||||||
// what is this, I don't even
|
// what is this, I don't even
|
||||||
}
|
}
|
||||||
} else if (Firework.class.isAssignableFrom(clazz)) {
|
} else if (Firework.class.isAssignableFrom(clazz)) {
|
||||||
entity = new EntityFireworks(world, x, y, z, null);
|
entity = new EntityFireworks(world, x, y, z, net.minecraft.server.ItemStack.a);
|
||||||
} else if (AreaEffectCloud.class.isAssignableFrom(clazz)) {
|
} else if (AreaEffectCloud.class.isAssignableFrom(clazz)) {
|
||||||
entity = new EntityAreaEffectCloud(world, x, y, z);
|
entity = new EntityAreaEffectCloud(world, x, y, z);
|
||||||
} else if (EvokerFangs.class.isAssignableFrom(clazz)) {
|
} else if (EvokerFangs.class.isAssignableFrom(clazz)) {
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren