mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-13 00:37:52 +00:00
Fix BusGroup.DEFAULT not being trimmed after mod loading completes, also trim mod BusGroups now too (#10721)
Saves some memory by trimming various backing collections of loaded EventBuses on the default BusGroup
This commit is contained in:
1 parent
b518c804fb
commit
1b5ca64f20
4 files changed
+28
-5
No files matched your search
@@ -136,8 +136,7 @@ public class ModStateProvider implements IModStateProvider {
|
||||
*
|
||||
* @see ModLoadingStage#DONE
|
||||
*/
|
||||
public static final ModLoadingState DONE = ModLoadingState.of("DONE", ModLoadingPhase.DONE)
|
||||
.withInline(ml -> BusGroup.DEFAULT.trim());
|
||||
public static final ModLoadingState DONE = ModLoadingState.of("DONE", ModLoadingPhase.DONE).empty();
|
||||
|
||||
@Override
|
||||
public List<IModLoadingState> getAllStates() {
|
||||
|
||||
Reference in new issue
Block a user