diff options
Diffstat (limited to 'src/main/kotlin/Firmament.kt')
-rw-r--r-- | src/main/kotlin/Firmament.kt | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/main/kotlin/Firmament.kt b/src/main/kotlin/Firmament.kt index f43018b..79f9743 100644 --- a/src/main/kotlin/Firmament.kt +++ b/src/main/kotlin/Firmament.kt @@ -120,9 +120,8 @@ object Firmament { @JvmStatic fun onClientInitialize() { FeatureManager.subscribeEvents() - var tick = 0 ClientTickEvents.END_CLIENT_TICK.register(ClientTickEvents.EndTick { instance -> - TickEvent.publish(TickEvent(tick++)) + TickEvent.publish(TickEvent(MC.currentTick++)) }) IDataHolder.registerEvents() RepoManager.initialize() @@ -149,9 +148,9 @@ object Firmament { }) ClientInitEvent.publish(ClientInitEvent()) ResourceManagerHelper.registerBuiltinResourcePack( - identifier("transparent_storage"), + identifier("transparent_overlay"), modContainer, - tr("firmament.resourcepack.transparentstorage", "Transparent Firmament Storage Overlay"), + tr("firmament.resourcepack.transparentoverlay", "Transparent Firmament Overlay"), ResourcePackActivationType.NORMAL ) } |