From 85911a26b678e2e7b93116e2757dafc4abbfc292 Mon Sep 17 00:00:00 2001 From: Qiuzhizhe <42761326+quizhizhe@users.noreply.github.com> Date: Thu, 17 Nov 2022 14:35:26 +0800 Subject: [PATCH] Fix mce::UUID::isEmpty --- LiteLoader/Header/MC/Types.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/LiteLoader/Header/MC/Types.hpp b/LiteLoader/Header/MC/Types.hpp index 0c4ab63..3d62461 100644 --- a/LiteLoader/Header/MC/Types.hpp +++ b/LiteLoader/Header/MC/Types.hpp @@ -64,7 +64,9 @@ class UUID { public: MCAPI std::string asString() const; MCAPI static UUID fromString(std::string const&); - MCAPI bool isEmpty() const; + inline bool isEmpty() const{ + return a && b; + }; MCAPI static UUID seedFromString(std::string const&); MCAPI static class mce::UUID EMPTY;