mirror of
https://github.com/PaperMC/Paper.git
synced 2024-09-12 15:08:27 +02:00
Fangs degree => radians (and back)
This commit is contained in:
parent
8d7e4d17e9
commit
fffaf07113
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user