Loading items after the player to ensure the hint cache works correctly in some mods

This commit is contained in:
slprime committed 2025-07-29 20:25:14 +03:00
1 parent 3edb85b317
commit 06e72d4f2a
1 file changed
+1 -1
+1 -1
View File
@@ -293,7 +293,7 @@ public class ItemList {
@Override
@SuppressWarnings("unchecked")
public void execute() {
if (!NEIClientConfig.isEnabled()) return;
if (!NEIClientConfig.isEnabled() || NEIClientUtils.mc().thePlayer == null) return;
ThreadOperationTimer timer = getTimer(NEIClientConfig.getItemLoadingTimeout());
LayoutManager.itemsLoaded = true;