Skip to content

Commit

Permalink
Fix CMDCam hogging roll
Browse files Browse the repository at this point in the history
  • Loading branch information
mchorse committed Jul 30, 2021
1 parent 63295a8 commit e84f652
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/java/mchorse/aperture/camera/CameraRenderer.java
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
import net.minecraft.util.math.MathHelper;
import net.minecraftforge.client.event.EntityViewRenderEvent;
import net.minecraftforge.client.event.RenderWorldLastEvent;
import net.minecraftforge.fml.common.eventhandler.EventPriority;
import net.minecraftforge.fml.common.eventhandler.SubscribeEvent;
import net.minecraftforge.fml.common.gameevent.TickEvent;
import net.minecraftforge.fml.common.gameevent.TickEvent.PlayerTickEvent;
Expand Down Expand Up @@ -81,7 +82,7 @@ public void toggleRender()
* This method is responsible for setting the roll of the camera and also
* locking yaw and pitch during profile running.
*/
@SubscribeEvent
@SubscribeEvent(priority = EventPriority.LOWEST)
public void onCameraOrient(EntityViewRenderEvent.CameraSetup event)
{
CameraRunner runner = ClientProxy.runner;
Expand Down

0 comments on commit e84f652

Please sign in to comment.