mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-25 09:41:29 +01:00
Fangs degree => radians (and back)
By: md_5 <git@md-5.net>
This commit is contained in:
parent
21a4e56ad5
commit
ccedad711d
@ -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