Fix unnecessary unboxing/reboxing of Floats in Rotation
This commit is contained in:
parent
4ea4e5fa43
commit
9fd207040e
@ -21,7 +21,7 @@ import net.minecraft.util.Tuple;
|
|||||||
|
|
||||||
public class Rotation extends Tuple<Float, Float> {
|
public class Rotation extends Tuple<Float, Float> {
|
||||||
|
|
||||||
public Rotation(float yaw, float pitch) {
|
public Rotation(Float yaw, Float pitch) {
|
||||||
super(yaw, pitch);
|
super(yaw, pitch);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user