mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2025-02-27 17:52:03 +01:00
Place waypoint marker in centre of block
This commit is contained in:
parent
7dd03e4c36
commit
ae31173ac4
@ -43,7 +43,7 @@ public class EntityMarkers<T> {
|
||||
|
||||
public Entity spawnMarker(World world, Location at) {
|
||||
NPC npc = registry.createNPC(EntityType.ENDER_SIGNAL, "");
|
||||
npc.spawn(at, SpawnReason.CREATE);
|
||||
npc.spawn(at.clone().add(0.5, 0, 0.5), SpawnReason.CREATE);
|
||||
return npc.getEntity();
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user