mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-05-15 06:12:32 +08:00
Fix IllegalStateException when execute toMap (#1879)
This commit is contained in:
committed by
GitHub
Unverified
parent
be8fbcbc02
commit
c331a7f288
@@ -60,7 +60,7 @@ public class SceneMeta {
|
||||
|
||||
}
|
||||
|
||||
this.blocks = blocks.stream().collect(Collectors.toMap(b -> b.id, b -> b));
|
||||
this.blocks = blocks.stream().collect(Collectors.toMap(b -> b.id, b -> b, (a, b) -> a));
|
||||
this.sceneBlockIndex = SceneIndexManager.buildIndex(2, blocks, SceneBlock::toRectangle);
|
||||
|
||||
} catch (ScriptException exception) {
|
||||
|
||||
Reference in New Issue
Block a user