aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/data/mob/MobFactories.kt4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/data/mob/MobFactories.kt b/src/main/java/at/hannibal2/skyhanni/data/mob/MobFactories.kt
index b8c9f9227..90893f248 100644
--- a/src/main/java/at/hannibal2/skyhanni/data/mob/MobFactories.kt
+++ b/src/main/java/at/hannibal2/skyhanni/data/mob/MobFactories.kt
@@ -123,7 +123,9 @@ object MobFactories {
baseEntity = baseEntity,
mobType = Mob.Type.SPECIAL,
armorStand = armorStand,
- name = if (this.group("points").isNotEmpty()) "Points: " + this.group("points") else this.group("empty")
+ name = if (this.group("points")
+ ?.isNotEmpty() == true
+ ) "Points: " + this.group("points") else this.group("empty").toString()
)
}