mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-25 09:41:29 +01:00
Allow fireworks to be created. Adds BUKKIT-3262
By: feildmaster <admin@feildmaster.com>
This commit is contained in:
parent
46b51ce858
commit
2c5dd716bb
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user