blob: e502232425b057208fd8d7957136163be5d642b7 (
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.perspectiveToggled) {
PerspectiveMod.resetPerspective();
} else {
gameSettings.thirdPersonView = value;
}
}
}
|