mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-01-11 00:22:53 +08:00
fix scence block loading bug
This commit is contained in:
parent
afa3747fad
commit
542a3cfc9b
@ -166,7 +166,7 @@ public class SceneScriptManager {
|
|||||||
List<SceneBlock> blocks = ScriptLoader.getSerializer().toList(SceneBlock.class, bindings.get("block_rects"));
|
List<SceneBlock> blocks = ScriptLoader.getSerializer().toList(SceneBlock.class, bindings.get("block_rects"));
|
||||||
|
|
||||||
for (int i = 0; i < blocks.size(); i++) {
|
for (int i = 0; i < blocks.size(); i++) {
|
||||||
SceneBlock block = blocks.get(0);
|
SceneBlock block = blocks.get(i);
|
||||||
block.id = blockIds.get(i);
|
block.id = blockIds.get(i);
|
||||||
|
|
||||||
loadBlockFromScript(block);
|
loadBlockFromScript(block);
|
||||||
|
Loading…
Reference in New Issue
Block a user