Skip to content
This repository has been archived by the owner on Mar 12, 2024. It is now read-only.

Commit

Permalink
Change name of arguments
Browse files Browse the repository at this point in the history
These names are switched around in the source code but are also used
reversed.
Name the arguments how they should be named in the first place.
  • Loading branch information
pascallj committed Jun 13, 2020
1 parent e11aed3 commit 983a3a7
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ default void framebufferSizeUpdate(Minecraft mc, int framebufferWidth, int frame
}
}

default void setDirection(Minecraft mc, float pitchIn, float yawIn) {
default void setDirection(Minecraft mc, float yawIn, float pitchIn) {
try {
setDirection.invoke(mc.gameRenderer.getActiveRenderInfo(), pitchIn, yawIn);
setDirection.invoke(mc.gameRenderer.getActiveRenderInfo(), yawIn, pitchIn);
} catch (Exception ex) {
L.error("setDirection() failed", ex);
}
Expand Down

0 comments on commit 983a3a7

Please sign in to comment.