mirror of
https://github.com/NuclearPowered/Reactor.git
synced 2026-10-19 15:51:54 +00:00
Make ModList#Current an array to preserve order
This commit is contained in:
1 file changed
+1
-1
@@ -101,7 +101,7 @@ public static class ModList
|
|||||||
.Select(pluginInfo => GetById(pluginInfo.Metadata.GUID))
|
.Select(pluginInfo => GetById(pluginInfo.Metadata.GUID))
|
||||||
.OrderByDescending(x => x.Id == ReactorPlugin.Id)
|
.OrderByDescending(x => x.Id == ReactorPlugin.Id)
|
||||||
.ThenBy(x => x.Id, StringComparer.Ordinal)
|
.ThenBy(x => x.Id, StringComparer.Ordinal)
|
||||||
.ToHashSet();
|
.ToArray();
|
||||||
|
|
||||||
_modByNetId.Clear();
|
_modByNetId.Clear();
|
||||||
_netIdByMod.Clear();
|
_netIdByMod.Clear();
|
||||||
|
|||||||
Reference in new issue
Block a user