SPIGOT-6536: Marker position not set on spawn
This commit is contained in:
parent
20d3e57c4e
commit
c9a92ad08e
@ -1807,6 +1807,7 @@ public class CraftWorld implements World {
|
|||||||
entity = new EntityEvokerFangs(world, x, y, z, (float) Math.toRadians(yaw), 0, null);
|
entity = new EntityEvokerFangs(world, x, y, z, (float) Math.toRadians(yaw), 0, null);
|
||||||
} else if (Marker.class.isAssignableFrom(clazz)) {
|
} else if (Marker.class.isAssignableFrom(clazz)) {
|
||||||
entity = EntityTypes.MARKER.a(world);
|
entity = EntityTypes.MARKER.a(world);
|
||||||
|
entity.setPosition(x, y, z);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (entity != null) {
|
if (entity != null) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user