Don't load garbages

This commit is contained in:
KingRainbow44 2023-05-09 22:46:43 -04:00
parent f7b25df91c
commit f9a7eecc1a
No known key found for this signature in database
GPG Key ID: FC2CB64B00D257BE

View File

@ -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()