Place waypoint marker in centre of block

This commit is contained in:
fullwall 2018-10-31 16:52:18 +08:00
parent 7dd03e4c36
commit ae31173ac4

View File

@ -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();
}
}