From f9a7eecc1aee7fd4ee0f98d009ed17dacee78061 Mon Sep 17 00:00:00 2001 From: KingRainbow44 Date: Tue, 9 May 2023 22:46:43 -0400 Subject: [PATCH] Don't load garbages --- src/main/java/emu/grasscutter/game/world/Scene.java | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/main/java/emu/grasscutter/game/world/Scene.java b/src/main/java/emu/grasscutter/game/world/Scene.java index c05a423bc..aa1d82019 100644 --- a/src/main/java/emu/grasscutter/game/world/Scene.java +++ b/src/main/java/emu/grasscutter/game/world/Scene.java @@ -964,17 +964,6 @@ public final class Scene { groupInstance = cachedInstance; } - // Load garbages - var garbageGadgets = group.getGarbageGadgets(); - - if (garbageGadgets != null) { - entities.addAll( - garbageGadgets.stream() - .map(g -> scriptManager.createGadget(group.id, group.block_id, g)) - .filter(Objects::nonNull) - .toList()); - } - // Load suites // int suite = group.findInitSuiteIndex(0); this.getScriptManager()