Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-12-21 05:50:05 +01:00
Fangs degree => radians (and back)
Dieser Commit ist enthalten in:
Ursprung
8d7e4d17e9
Commit
fffaf07113
@ -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) {
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren