From ba856346a9483549eba5d34bd2729b5c90c7768e Mon Sep 17 00:00:00 2001 From: Electroblob77 <35599699+Electroblob77@users.noreply.github.com> Date: Sat, 20 Jun 2020 13:22:46 +0100 Subject: [PATCH] Should be @Nullable --- src/main/java/electroblob/wizardry/spell/SpellRay.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/electroblob/wizardry/spell/SpellRay.java b/src/main/java/electroblob/wizardry/spell/SpellRay.java index ca6b35f1..49d005d8 100644 --- a/src/main/java/electroblob/wizardry/spell/SpellRay.java +++ b/src/main/java/electroblob/wizardry/spell/SpellRay.java @@ -366,7 +366,7 @@ public abstract class SpellRay extends Spell { * @param distance The length of the line of particles, already set to the appropriate distance based on the spell's */ // The caster argument is only really useful for spawning targeted particles continuously - protected void spawnParticleRay(World world, Vec3d origin, Vec3d direction, EntityLivingBase caster, double distance){ + protected void spawnParticleRay(World world, Vec3d origin, Vec3d direction, @Nullable EntityLivingBase caster, double distance){ Vec3d velocity = direction.scale(particleVelocity);