From 6b83986106a716f1e95f876dbaabad19473e79e8 Mon Sep 17 00:00:00 2001 From: Dregu Date: Fri, 8 Jan 2021 00:45:30 +0200 Subject: [PATCH] remove 0 item from entities.txt --- crates/injected/cxx/ui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/injected/cxx/ui.cpp b/crates/injected/cxx/ui.cpp index 0e96bf17d..2806bf048 100644 --- a/crates/injected/cxx/ui.cpp +++ b/crates/injected/cxx/ui.cpp @@ -682,7 +682,7 @@ void write_file() { std::ofstream file; file.open("entities.txt"); - for (int i = 0; i < g_items.size(); i++) + for (int i = 1; i < g_items.size(); i++) { file << g_items[i].id << ": " << g_items[i].name.data() << std::endl; }