Correct item hologram offset as well
This commit is contained in:
parent
1e368e71a5
commit
fe5a088f7a
|
@ -504,7 +504,8 @@ public class HologramTrait extends Trait {
|
|||
|
||||
@Override
|
||||
protected void render0(NPC npc, Vector3d offset) {
|
||||
hologram.getEntity().teleport(npc.getStoredLocation().clone().add(offset.x, offset.y, offset.z),
|
||||
hologram.getEntity().teleport(
|
||||
npc.getStoredLocation().clone().add(offset.x, offset.y + getEntityBbHeight(), offset.z),
|
||||
TeleportCause.PLUGIN);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue