blob: 31914f833bf1e65d92f53c1405bee5d343641717 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
package me.djtheredstoner.perspectivemod.asm.hooks;
import me.djtheredstoner.perspectivemod.PerspectiveMod;
import net.minecraft.client.settings.GameSettings;
public class MinecraftHook {
public static void thirdPersonHook(GameSettings gameSettings, int value) {
if(PerspectiveMod.instance.perspectiveToggled) {
PerspectiveMod.instance.resetPerspective();
} else {
gameSettings.thirdPersonView = value;
}
}
}
|