Skip to content
This repository was archived by the owner on Feb 11, 2025. It is now read-only.

Commit 48950fe

Browse files
committed
fix export path
1 parent 7cb22ee commit 48950fe

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

common/src/main/java/org/localmc/tools/ftbqkeys/FTBQKeysMod.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ public class FTBQKeysMod {
1818
public static final String MODID = "ftbqkeys";
1919
public static final Path gameDir = Platform.getGameFolder();
2020
public static final Path configDir = Platform.getConfigFolder();
21-
public static final Path kubejsDir = gameDir.resolve("kubejs").normalize();
2221
public static final Gson gson = new GsonBuilder().setPrettyPrinting().create();
2322

2423
public static void saveLang(TreeMap<String, String> transKeys, String lang, File parent) throws IOException {

common/src/main/java/org/localmc/tools/ftbqkeys/command/FTBQKeysCommands.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public static void registerCommands(CommandDispatcher<CommandSourceStack> comman
3737
ArgumentCommandNode<CommandSourceStack, String> argumentCommandNode = Commands.argument("lang", StringArgumentType.word()).suggests((C1, c2) -> SharedSuggestionProvider.suggest(Minecraft.getInstance().getLanguageManager().getLanguages().stream().map(LanguageInfo::getCode).collect(Collectors.toList()).toArray(new String[0]), c2)).executes(Ctx -> {
3838
try {
3939
File parent = new File(FTBQKeysMod.gameDir.toFile(), "ftbqkeys");
40-
File transFiles = new File(parent, FTBQKeysMod.kubejsDir + "/assets/kubejs/lang/");
40+
File transFiles = new File(parent, "kubejs/assets/kubejs/lang/");
4141
File questsFolder = new File(FTBQKeysMod.configDir.toFile(), "ftbquests");
4242

4343
if (questsFolder.exists()) {

0 commit comments

Comments
 (0)