From 03462869f508f549eff1971262d708ffc7d3bfbc Mon Sep 17 00:00:00 2001 From: ingle Date: Mon, 3 Oct 2022 00:04:02 -0500 Subject: -Added Skip reverse 3rd person -Implemented configs of Custom Animations --- src/main/kotlin/dulkirmod/DulkirMod.kt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/main/kotlin/dulkirmod/DulkirMod.kt') 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 -- cgit