diff options
author | ingle <inglettronald@gmail.com> | 2022-10-03 00:04:02 -0500 |
---|---|---|
committer | ingle <inglettronald@gmail.com> | 2022-10-03 00:04:02 -0500 |
commit | 03462869f508f549eff1971262d708ffc7d3bfbc (patch) | |
tree | c559e80cf9108d528d4b40c7261f51e3ff1b78ac /src/main/kotlin/dulkirmod/DulkirMod.kt | |
parent | 830d3185f6c0c4ac14c957c03e982badb40fa053 (diff) | |
download | DulkirMod-03462869f508f549eff1971262d708ffc7d3bfbc.tar.gz DulkirMod-03462869f508f549eff1971262d708ffc7d3bfbc.tar.bz2 DulkirMod-03462869f508f549eff1971262d708ffc7d3bfbc.zip |
-Added Skip reverse 3rd person
-Implemented configs of Custom Animations
Diffstat (limited to 'src/main/kotlin/dulkirmod/DulkirMod.kt')
-rw-r--r-- | src/main/kotlin/dulkirmod/DulkirMod.kt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main/kotlin/dulkirmod/DulkirMod.kt b/src/main/kotlin/dulkirmod/DulkirMod.kt index 2647d9f..d0ea1e5 100644 --- a/src/main/kotlin/dulkirmod/DulkirMod.kt +++ b/src/main/kotlin/dulkirmod/DulkirMod.kt @@ -68,6 +68,9 @@ class DulkirMod { @SubscribeEvent fun onTick(event: ClientTickEvent) { + if (Config.noReverse3rdPerson && mc.gameSettings.thirdPersonView == 2) + mc.gameSettings.thirdPersonView = 0 + if (event.phase != TickEvent.Phase.START || display == null) return mc.displayGuiScreen(display) display = null |