3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-11-16 13:00:06 +01:00

Allow fireworks to be created. Adds BUKKIT-3262

Dieser Commit ist enthalten in:
feildmaster 2012-12-22 02:57:28 -06:00 committet von Travis Watkins
Ursprung 6dc13b688a
Commit dc85940526

Datei anzeigen

@ -991,6 +991,8 @@ public class CraftWorld implements World {
// this is not a fish, it's a bobber, and it's probably useless
entity = new EntityFishingHook(world);
entity.setLocation(x, y, z, pitch, yaw);
} else if (Firework.class.isAssignableFrom(clazz)) {
entity = new EntityFireworks(world, x, y, z, null);
}
if (entity != null) {