mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-06 02:35:49 +01:00
Kill fireball if velocity isn't present. Fixes BUKKIT-1228
This commit is contained in:
parent
d5ba6c6644
commit
d836e57871
1 changed files with 2 additions and 0 deletions
|
@ -232,6 +232,8 @@ public class EntityFireball extends Entity {
|
|||
this.dirX = ((NBTTagDouble) nbttaglist1.get(0)).data;
|
||||
this.dirY = ((NBTTagDouble) nbttaglist1.get(1)).data;
|
||||
this.dirZ = ((NBTTagDouble) nbttaglist1.get(2)).data;
|
||||
} else {
|
||||
this.die();
|
||||
}
|
||||
// CraftBukkit end
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue