mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-10 10:17:38 +01:00
SPIGOT-6536: Marker position not set on spawn
By: md_5 <git@md-5.net>
This commit is contained in:
parent
02ebbcfc81
commit
085885b64a
@ -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…
Reference in New Issue
Block a user