Add check for remember ride camera config when dismounting

This commit is contained in:
lion
2026-06-16 17:37:07 +00:00
committed by Polymeta
parent 2c2623e0f9
commit 7608dfde94
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -302,6 +302,7 @@
- Restored Ninjask's ability to do barrel rolls
- Fixed a crash caused by adding enchanted items to the Resurrection Machine
- Fixed a crash that could occur when starting a PvN battle with only fainted Pokémon.
- Fixed the Remember Riding Camera config not being respected when dismounting and resolved the incompatibility with the Auto Third Person mod
### Fixes
- Fixed Croagunk's walkspeed
@@ -49,7 +49,7 @@ object MountedCameraTypeHandler {
return
}
val currentCameraType = mc.options.cameraType
if (currentCameraType != unmountedCameraType) {
if (Cobblemon.config.rememberRidingCamera && currentCameraType != unmountedCameraType) {
mc.options.cameraType = unmountedCameraType
}
val data = ClientPersistedData.ridingPerspectives