We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2934207 commit 3205c11Copy full SHA for 3205c11
src/main/kotlin/cc/modlabs/kpaper/npc/NPCImpl.kt
@@ -1516,7 +1516,7 @@ class NPCImpl(
1516
1517
val entity = this.getEntity() ?: return
1518
1519
- val component = Component.text(customName)
+ val component = text(customName)
1520
1521
metadataList.add(EntityData(2, EntityDataTypes.OPTIONAL_ADV_COMPONENT, Optional.of(component)))
1522
@@ -1529,7 +1529,7 @@ class NPCImpl(
1529
1530
1531
1532
- val component = Component.text(description)
+ val component = text(description)
1533
1534
metadataList.add(EntityData(19, EntityDataTypes.OPTIONAL_ADV_COMPONENT, Optional.of(component)))
1535
0 commit comments