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
ac6ae117
Commit
ac6ae117
authored
Apr 19, 2022
by
ayy lmao
Browse files
Fix folder seperators
parent
c72891ff
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/java/emu/grasscutter/data/ResourceLoader.java
View file @
ac6ae117
...
...
@@ -197,7 +197,7 @@ public class ResourceLoader {
}
else
{
Map
<
String
,
OpenConfigEntry
>
map
=
new
TreeMap
<>();
java
.
lang
.
reflect
.
Type
type
=
new
TypeToken
<
Map
<
String
,
OpenConfigData
[]>>()
{}.
getType
();
String
[]
folderNames
=
{
"BinOutput
\\
Talent
\\
EquipTalents
\\
"
,
"BinOutput
\\
Talent
\\
AvatarTalents
\\
"
};
String
[]
folderNames
=
{
"BinOutput
/
Talent
/
EquipTalents
/
"
,
"BinOutput
/
Talent
/
AvatarTalents
/
"
};
for
(
String
name
:
folderNames
)
{
File
folder
=
new
File
(
Utils
.
toFilePath
(
Grasscutter
.
getConfig
().
RESOURCE_FOLDER
+
name
));
...
...
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