Fix WorldClient leak in ItemModSpawner and ClientHandler (#637)

Co-authored-by: Martin Robertz <[email protected]>
This commit is contained in:
AlexdoruandMartin Robertz authored and GitHub committed 2025-06-15 12:09:55 +02:00
1 parent 81e05dc030
commit 081071562f
5 files changed
+43 -56

No files matched your search

@@ -124,12 +124,12 @@ public class ItemInfo {
addMobSpawnerItem();
}
public static void load(World world) {
public static void load() {
addVanillaBlockProperties();
addDefaultDropDowns();
searchItems();
parseModItems();
ItemMobSpawner.loadSpawners(world);
ItemMobSpawner.loadSpawners();
addSpawnEggs();
addInfiniteHandlers();
addInputHandlers();