aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main/kotlin/moe/nea/firmament/gui/profileviewer/ProfileViewer.kt2
-rw-r--r--src/main/resources/assets/firmament/lang/en_us.json4
2 files changed, 4 insertions, 2 deletions
diff --git a/src/main/kotlin/moe/nea/firmament/gui/profileviewer/ProfileViewer.kt b/src/main/kotlin/moe/nea/firmament/gui/profileviewer/ProfileViewer.kt
index 98e9489..6b70e6c 100644
--- a/src/main/kotlin/moe/nea/firmament/gui/profileviewer/ProfileViewer.kt
+++ b/src/main/kotlin/moe/nea/firmament/gui/profileviewer/ProfileViewer.kt
@@ -49,7 +49,7 @@ class ProfileViewer(
val names = mapOf(uuid to (Routes.getPlayerNameForUUID(uuid) ?: name))
val data = Routes.getAccountData(uuid)
if (data == null) {
- source.sendError(Text.translatable("firmament.pv.nohypixel", name))
+ source.sendError(Text.translatable("firmament.pv.noprofile", name))
return@launch
}
val accountData = mapOf(data.uuid to data)
diff --git a/src/main/resources/assets/firmament/lang/en_us.json b/src/main/resources/assets/firmament/lang/en_us.json
index 91bca24..2641173 100644
--- a/src/main/resources/assets/firmament/lang/en_us.json
+++ b/src/main/resources/assets/firmament/lang/en_us.json
@@ -54,5 +54,7 @@
"firmament.pv.skills.social": "Social",
"firmament.pv.skills.enchanting": "Enchanting",
"firmament.pv.skills.total": "Total Exp: %s",
- "firmament.pv.lookingup": "Looking up %s"
+ "firmament.pv.lookingup": "Looking up %s",
+ "firmament.pv.noprofile": "%s has no SkyBlock profiles",
+ "firmament.pv.noplayer": "%s is not a Minecraft player"
}