From e5eef86dd13540af8c1a543fc53613f839675c1a Mon Sep 17 00:00:00 2001 From: Qiuzhizhe <42761326+quizhizhe@users.noreply.github.com> Date: Thu, 27 Oct 2022 10:33:15 +0800 Subject: [PATCH] Fix Error in CompoundTag.hpp --- LiteLoader/Header/MC/CompoundTag.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/LiteLoader/Header/MC/CompoundTag.hpp b/LiteLoader/Header/MC/CompoundTag.hpp index 976cd83..658dc66 100644 --- a/LiteLoader/Header/MC/CompoundTag.hpp +++ b/LiteLoader/Header/MC/CompoundTag.hpp @@ -97,6 +97,7 @@ public: auto iter = val.find(key.data()); if(iter != val.end()) return iter->second.get(); + return nullptr; }; inline bool isEmpty(){