diff --git a/nms-patches/IProjectile.patch b/nms-patches/IProjectile.patch index 62a93b19f9..5351564e46 100644 --- a/nms-patches/IProjectile.patch +++ b/nms-patches/IProjectile.patch @@ -15,7 +15,7 @@ this.shooter = entity.getUniqueID(); this.c = entity.getId(); } -+ this.projectileSource = (entity instanceof ProjectileSource) ? (ProjectileSource) entity.getBukkitEntity() : null; // CraftBukkit ++ this.projectileSource = (entity != null && entity.getBukkitEntity() instanceof ProjectileSource) ? (ProjectileSource) entity.getBukkitEntity() : null; // CraftBukkit }