SPIGOT-6536: Marker position not set on spawn

By: md_5 <git@md-5.net>
This commit is contained in:
CraftBukkit/Spigot 2021-06-13 10:25:21 +10:00
parent 02ebbcfc81
commit 085885b64a

View File

@ -1807,6 +1807,7 @@ public class CraftWorld implements World {
entity = new EntityEvokerFangs(world, x, y, z, (float) Math.toRadians(yaw), 0, null);
} else if (Marker.class.isAssignableFrom(clazz)) {
entity = EntityTypes.MARKER.a(world);
entity.setPosition(x, y, z);
}
if (entity != null) {