Small fix
This commit is contained in:
parent
29e6e5edbf
commit
e0a9d21d59
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ public class WorldDataAPI {
|
||||||
public static void load(File dataDir) {
|
public static void load(File dataDir) {
|
||||||
WorldDataAPI.dataDir = dataDir;
|
WorldDataAPI.dataDir = dataDir;
|
||||||
MODS.stream().parallel().forEach(modID -> {
|
MODS.stream().parallel().forEach(modID -> {
|
||||||
File file = new File(dataDir, modID);
|
File file = new File(dataDir, modID + ".nbt");
|
||||||
CompoundTag root = new CompoundTag();
|
CompoundTag root = new CompoundTag();
|
||||||
if (file.exists()) {
|
if (file.exists()) {
|
||||||
try {
|
try {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue