aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/moe/nea/firmament/features
diff options
context:
space:
mode:
authorLinnea Gräf <nea@nea.moe>2024-02-13 16:35:10 +0100
committerLinnea Gräf <nea@nea.moe>2024-02-13 16:35:10 +0100
commita20e3696ece23ba4389deeebf63e1cc33f717705 (patch)
tree166e28cd8dfea67967ccc521afc115fd47993931 /src/main/kotlin/moe/nea/firmament/features
parented9b49c8a3ac76051f04037e4ae1ac760ba8d8c9 (diff)
downloadFirmament-a20e3696ece23ba4389deeebf63e1cc33f717705.tar.gz
Firmament-a20e3696ece23ba4389deeebf63e1cc33f717705.tar.bz2
Firmament-a20e3696ece23ba4389deeebf63e1cc33f717705.zip
Hide repeated error messages in logs
Diffstat (limited to 'src/main/kotlin/moe/nea/firmament/features')
-rw-r--r--src/main/kotlin/moe/nea/firmament/features/texturepack/CustomSkyBlockTextures.kt1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/kotlin/moe/nea/firmament/features/texturepack/CustomSkyBlockTextures.kt b/src/main/kotlin/moe/nea/firmament/features/texturepack/CustomSkyBlockTextures.kt
index d925d6e..f363878 100644
--- a/src/main/kotlin/moe/nea/firmament/features/texturepack/CustomSkyBlockTextures.kt
+++ b/src/main/kotlin/moe/nea/firmament/features/texturepack/CustomSkyBlockTextures.kt
@@ -44,6 +44,7 @@ object CustomSkyBlockTextures : FirmamentFeature {
it.overrideModel = ModelIdentifier("firmskyblock", id.identifier.path, "inventory")
}
TickEvent.subscribe {
+ throw RuntimeException()
if (TConfig.cacheDuration < 1 || it.tickCount % TConfig.cacheDuration == 0) {
CustomItemModelEvent.clearCache()
skullTextureCache.clear()