aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/me/djtheredstoner/perspectivemod/asm/hooks/ActiveRenderInfoHook.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/me/djtheredstoner/perspectivemod/asm/hooks/ActiveRenderInfoHook.java')
-rw-r--r--src/main/java/me/djtheredstoner/perspectivemod/asm/hooks/ActiveRenderInfoHook.java16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/main/java/me/djtheredstoner/perspectivemod/asm/hooks/ActiveRenderInfoHook.java b/src/main/java/me/djtheredstoner/perspectivemod/asm/hooks/ActiveRenderInfoHook.java
deleted file mode 100644
index 94296d1..0000000
--- a/src/main/java/me/djtheredstoner/perspectivemod/asm/hooks/ActiveRenderInfoHook.java
+++ /dev/null
@@ -1,16 +0,0 @@
-package me.djtheredstoner.perspectivemod.asm.hooks;
-
-import me.djtheredstoner.perspectivemod.PerspectiveMod;
-import net.minecraft.entity.player.EntityPlayer;
-
-public class ActiveRenderInfoHook {
-
- public static float rotationYawHook(EntityPlayer entity) {
- return PerspectiveMod.instance.perspectiveToggled ? PerspectiveMod.instance.cameraYaw : entity.rotationYaw;
- }
-
- public static float rotationPitchHook(EntityPlayer entity) {
- return PerspectiveMod.instance.perspectiveToggled ? PerspectiveMod.instance.cameraPitch : entity.rotationPitch;
- }
-
-}