Fix phase step missing sound

This commit is contained in:
Electroblob
2018-02-26 18:35:12 +00:00
parent 76f6d431bb
commit 46eae53313
@@ -62,6 +62,7 @@ public class PhaseStep extends Spell {
} }
caster.swingArm(hand); caster.swingArm(hand);
WizardryUtilities.playSoundAtPlayer(caster, SoundEvents.ENTITY_ENDERMEN_TELEPORT, 1.0F, 1.0f);
return true; return true;
} }
} }
@@ -78,7 +79,6 @@ public class PhaseStep extends Spell {
world.spawnParticle(EnumParticleTypes.PORTAL, dx1, dy1, dz1, world.rand.nextDouble() - 0.5, world.spawnParticle(EnumParticleTypes.PORTAL, dx1, dy1, dz1, world.rand.nextDouble() - 0.5,
world.rand.nextDouble() - 0.5, world.rand.nextDouble() - 0.5); world.rand.nextDouble() - 0.5, world.rand.nextDouble() - 0.5);
} }
WizardryUtilities.playSoundAtPlayer(caster, SoundEvents.ENTITY_ENDERMEN_TELEPORT, 1.0F, 1.0f);
} }
return false; return false;