Misc fixes

This commit is contained in:
Sollace 2020-05-07 13:17:20 +02:00
parent 51f9625d2b
commit 298eddb9c2
4 changed files with 3 additions and 6 deletions

View file

@ -105,7 +105,7 @@ public class MagicGemItem extends Item implements Castable {
return ActionResult.SUCCESS;
}
return ActionResult.FAIL;
return ActionResult.SUCCESS;
}
@Override

View file

@ -6,6 +6,7 @@ import java.util.stream.Stream;
import javax.annotation.Nullable;
import com.minelittlepony.unicopia.entity.IMagicals;
import com.minelittlepony.unicopia.entity.Owned;
import com.minelittlepony.unicopia.particles.ParticleSource;
import com.minelittlepony.unicopia.util.VecHelper;

View file

@ -1,5 +0,0 @@
package com.minelittlepony.unicopia.magic;
public interface IMagicals {
}

View file

@ -55,6 +55,7 @@ public class ScorchSpell extends FireSpell implements TossedMagicEffect {
@Override
public void render(Caster<?> source) {
source.addParticle(ParticleTypes.END_ROD, source.getOriginVector(), Vec3d.ZERO);
source.spawnParticles(ParticleTypes.FLAME, 3);
source.spawnParticles(new MagicParticleEffect(getTint()), 3);
}