Fangs degree => radians (and back)

By: md_5 <git@md-5.net>
This commit is contained in:
CraftBukkit/Spigot 2016-11-30 09:56:09 +11:00
parent 21a4e56ad5
commit ccedad711d

View file

@ -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) {