diff options
author | Linnea Gräf <nea@nea.moe> | 2024-11-01 23:00:53 +0100 |
---|---|---|
committer | Linnea Gräf <nea@nea.moe> | 2024-11-01 23:00:53 +0100 |
commit | 8b410fbdf2cffb3ceaa51bbea150f5165848bc37 (patch) | |
tree | e4b4ec4ba24a7edbefa45b7deb2503b74214ee02 /src/main/kotlin/repo/RepoManager.kt | |
parent | 653454e290a1bb6142e2bb40947239c2e450820b (diff) | |
download | Firmament-8b410fbdf2cffb3ceaa51bbea150f5165848bc37.tar.gz Firmament-8b410fbdf2cffb3ceaa51bbea150f5165848bc37.tar.bz2 Firmament-8b410fbdf2cffb3ceaa51bbea150f5165848bc37.zip |
Add tint override to texture packs
Diffstat (limited to 'src/main/kotlin/repo/RepoManager.kt')
-rw-r--r-- | src/main/kotlin/repo/RepoManager.kt | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/main/kotlin/repo/RepoManager.kt b/src/main/kotlin/repo/RepoManager.kt index 9f8f422..c052fb9 100644 --- a/src/main/kotlin/repo/RepoManager.kt +++ b/src/main/kotlin/repo/RepoManager.kt @@ -9,13 +9,13 @@ import net.fabricmc.fabric.api.client.event.lifecycle.v1.ClientTickEvents import kotlinx.coroutines.launch import net.minecraft.client.MinecraftClient import net.minecraft.network.packet.s2c.play.SynchronizeRecipesS2CPacket -import net.minecraft.text.Text import moe.nea.firmament.Firmament import moe.nea.firmament.Firmament.logger import moe.nea.firmament.events.ReloadRegistrationEvent import moe.nea.firmament.gui.config.ManagedConfig import moe.nea.firmament.util.MinecraftDispatcher import moe.nea.firmament.util.SkyblockId +import moe.nea.firmament.util.tr object RepoManager { object Config : ManagedConfig("repo", Category.META) { @@ -108,12 +108,13 @@ object RepoManager { try { ItemCache.ReloadProgressHud.reportProgress("Reloading from Disk", 0, - -1) // TODO: replace with a proper boundy bar + -1) // TODO: replace with a proper bouncy bar ItemCache.ReloadProgressHud.isEnabled = true neuRepo.reload() } catch (exc: NEURepositoryException) { MinecraftClient.getInstance().player?.sendMessage( - Text.literal("Failed to reload repository. This will result in some mod features not working.") + tr("firmament.repo.reloadfail", + "Failed to reload repository. This will result in some mod features not working.") ) ItemCache.ReloadProgressHud.isEnabled = false exc.printStackTrace() |