fix hologram order when importing from ZNPCs
This commit is contained in:
parent
2ca5dd8c5c
commit
a7bcd20e00
1 changed files with 1 additions and 0 deletions
|
@ -157,6 +157,7 @@ public class ZNpcImporter implements DataImporter {
|
||||||
|
|
||||||
HologramImpl hologram = npc.getHologram();
|
HologramImpl hologram = npc.getHologram();
|
||||||
hologram.setOffset(model.getHologramHeight());
|
hologram.setOffset(model.getHologramHeight());
|
||||||
|
Collections.reverse(model.getHologramLines());
|
||||||
for (String raw : model.getHologramLines()) {
|
for (String raw : model.getHologramLines()) {
|
||||||
Component line = textSerializer.deserialize(raw);
|
Component line = textSerializer.deserialize(raw);
|
||||||
hologram.addTextLineComponent(line);
|
hologram.addTextLineComponent(line);
|
||||||
|
|
Loading…
Reference in a new issue