mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2024-12-23 09:37:35 +01:00
Armorstand renderer should incorporate entity height
This commit is contained in:
parent
cd7f3366ab
commit
3d44a09756
@ -336,7 +336,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
Block a user