mirror of
https://github.com/Sollace/Unicopia.git
synced 2025-02-01 19:46:42 +01:00
Misc fixes
This commit is contained in:
parent
51f9625d2b
commit
298eddb9c2
4 changed files with 3 additions and 6 deletions
|
@ -105,7 +105,7 @@ public class MagicGemItem extends Item implements Castable {
|
|||
return ActionResult.SUCCESS;
|
||||
}
|
||||
|
||||
return ActionResult.FAIL;
|
||||
return ActionResult.SUCCESS;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -1,5 +0,0 @@
|
|||
package com.minelittlepony.unicopia.magic;
|
||||
|
||||
public interface IMagicals {
|
||||
|
||||
}
|
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue