update hologram location on npc type change
This commit is contained in:
parent
d48de6382a
commit
18cdef4527
1 changed files with 1 additions and 0 deletions
|
@ -56,6 +56,7 @@ public class NpcImpl extends Viewable implements Npc {
|
|||
UNSAFE_hideAll();
|
||||
this.type = type;
|
||||
entity = new PacketEntity(packetFactory, this, type.getType(), entity.getLocation());
|
||||
hologram.setLocation(location.withY(location.getY() + type.getHologramOffset()));
|
||||
UNSAFE_showAll();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue