Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
ziqian zhang
Grasscutter
Commits
542a3cfc
Commit
542a3cfc
authored
May 06, 2022
by
wulf
Committed by
Melledy
May 06, 2022
Browse files
fix scence block loading bug
parent
afa3747f
Changes
1
Show whitespace changes
Inline
Side-by-side
src/main/java/emu/grasscutter/scripts/SceneScriptManager.java
View file @
542a3cfc
...
...
@@ -166,7 +166,7 @@ public class SceneScriptManager {
List
<
SceneBlock
>
blocks
=
ScriptLoader
.
getSerializer
().
toList
(
SceneBlock
.
class
,
bindings
.
get
(
"block_rects"
));
for
(
int
i
=
0
;
i
<
blocks
.
size
();
i
++)
{
SceneBlock
block
=
blocks
.
get
(
0
);
SceneBlock
block
=
blocks
.
get
(
i
);
block
.
id
=
blockIds
.
get
(
i
);
loadBlockFromScript
(
block
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment