Fix phase step missing sound
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user