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 52f873a commit 6a04843Copy full SHA for 6a04843
core/src/main/kotlin/kr/toxicity/model/compatibility/citizens/trait/ModelTrait.kt
@@ -35,9 +35,9 @@ class ModelTrait : Trait("model") {
35
}
36
37
override fun save(key: DataKey) {
38
- key.setString("", npc.entity?.uniqueId?.let { uuid ->
39
- BetterModel.registryOrNull(uuid)?.first()?.name()
40
- })
+ npc.entity?.uniqueId?.let { uuid ->
+ key.setString("", BetterModel.registryOrNull(uuid)?.first()?.name())
+ }
41
42
43
override fun onSpawn() {
0 commit comments