mirror of
https://github.com/Melledy/Grasscutter.git
synced 2024-11-23 08:11:12 +00:00
Don't load garbages
This commit is contained in:
parent
f7b25df91c
commit
f9a7eecc1a
@ -964,17 +964,6 @@ public final class Scene {
|
|||||||
groupInstance = cachedInstance;
|
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
|
// Load suites
|
||||||
// int suite = group.findInitSuiteIndex(0);
|
// int suite = group.findInitSuiteIndex(0);
|
||||||
this.getScriptManager()
|
this.getScriptManager()
|
||||||
|
Loading…
Reference in New Issue
Block a user