mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-10 03:52:45 +01:00
Fangs degree => radians (and back)
By: md_5 <git@md-5.net>
This commit is contained in:
parent
21a4e56ad5
commit
ccedad711d
1 changed files with 1 additions and 1 deletions
|
@ -1160,7 +1160,7 @@ public class CraftWorld implements World {
|
||||||
} else if (AreaEffectCloud.class.isAssignableFrom(clazz)) {
|
} else if (AreaEffectCloud.class.isAssignableFrom(clazz)) {
|
||||||
entity = new EntityAreaEffectCloud(world, x, y, z);
|
entity = new EntityAreaEffectCloud(world, x, y, z);
|
||||||
} else if (EvokerFangs.class.isAssignableFrom(clazz)) {
|
} else if (EvokerFangs.class.isAssignableFrom(clazz)) {
|
||||||
entity = new EntityEvokerFangs(world, x, y, z, yaw, 0, null);
|
entity = new EntityEvokerFangs(world, x, y, z, (float) Math.toRadians(yaw), 0, null);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (entity != null) {
|
if (entity != null) {
|
||||||
|
|
Loading…
Reference in a new issue