From fffaf0711337e31b801c50556d1e6cf4c87c617a Mon Sep 17 00:00:00 2001 From: md_5 Date: Wed, 30 Nov 2016 09:56:09 +1100 Subject: [PATCH] Fangs degree => radians (and back) --- src/main/java/org/bukkit/craftbukkit/CraftWorld.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/bukkit/craftbukkit/CraftWorld.java b/src/main/java/org/bukkit/craftbukkit/CraftWorld.java index 97afd0f29c..ffef56a7a9 100644 --- a/src/main/java/org/bukkit/craftbukkit/CraftWorld.java +++ b/src/main/java/org/bukkit/craftbukkit/CraftWorld.java @@ -1160,7 +1160,7 @@ public class CraftWorld implements World { } else if (AreaEffectCloud.class.isAssignableFrom(clazz)) { entity = new EntityAreaEffectCloud(world, x, y, z); } 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) {