From fffaf0711337e31b801c50556d1e6cf4c87c617a Mon Sep 17 00:00:00 2001 From: md_5 Date: Wed, 30 Nov 2016 09:56:09 +1100 Subject: Fangs degree => radians (and back) --- src/main/java/org/bukkit/craftbukkit/CraftWorld.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main') diff --git a/src/main/java/org/bukkit/craftbukkit/CraftWorld.java b/src/main/java/org/bukkit/craftbukkit/CraftWorld.java index 97afd0f2..ffef56a7 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) { -- cgit v1.2.3