diff --git a/LiteLoader/Header/MC/AABB.hpp b/LiteLoader/Header/MC/AABB.hpp index 81ec27c..b29a030 100644 --- a/LiteLoader/Header/MC/AABB.hpp +++ b/LiteLoader/Header/MC/AABB.hpp @@ -50,7 +50,7 @@ public: MCAPI static class AABB const EMPTY; inline Vec3 getCenter() const{ - return (min + max)/2; + return min+(max-min)*0.5; }; inline Vec3& operator[](int index) {