Skip to content

Commit

Permalink
Fix PFM Lang generation not working
Browse files Browse the repository at this point in the history
  • Loading branch information
UnlikePaladin committed Nov 10, 2023
1 parent 5731c56 commit bc57f8c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public void run() {
catch (Exception e) {
getParent().getLogger().info(e);
};
try(BufferedWriter writer = IOUtils.buffer(new FileWriter(new File(PFMRuntimeResources.createDirIfNeeded(getParent().getOrCreateSubDirectory("assets").resolve("lang")).toFile(), "en_us.json"))))
try(BufferedWriter writer = IOUtils.buffer(new FileWriter(new File(PFMRuntimeResources.createDirIfNeeded(getParent().getOrCreateSubDirectory("assets/pfm").resolve("lang")).toFile(), "en_us.json"))))
{
writer.write("{\n");
generateTranslationForVariantBlockMap(PaladinFurnitureModBlocksItems.furnitureEntryMap.get(BasicChairBlock.class).getVariantToBlockMap(), writer, "block.pfm.basic_chair", this::simpleStrippedFurnitureTranslation);
Expand Down

0 comments on commit bc57f8c

Please sign in to comment.