From 9fd207040e67195eef9bce8b085fcfe78298b211 Mon Sep 17 00:00:00 2001 From: Brady Date: Thu, 9 Aug 2018 18:26:17 -0500 Subject: [PATCH] Fix unnecessary unboxing/reboxing of Floats in Rotation --- src/main/java/baritone/bot/utils/Rotation.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/baritone/bot/utils/Rotation.java b/src/main/java/baritone/bot/utils/Rotation.java index 3e6cb08f..76f2095d 100644 --- a/src/main/java/baritone/bot/utils/Rotation.java +++ b/src/main/java/baritone/bot/utils/Rotation.java @@ -21,7 +21,7 @@ import net.minecraft.util.Tuple; public class Rotation extends Tuple { - public Rotation(float yaw, float pitch) { + public Rotation(Float yaw, Float pitch) { super(yaw, pitch); } }