Skip to content
This repository has been archived by the owner on Mar 15, 2024. It is now read-only.

Commit

Permalink
Update file link
Browse files Browse the repository at this point in the history
  • Loading branch information
rettichlp committed Aug 6, 2023
1 parent 84f5742 commit 1213b61
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -767,8 +767,7 @@ private long getRandomNumber(byte[] bytes) {

public File getModFile() {
String addonName = this.unicacityAddon.addonInfo().getFileName();
File file = new File(this.unicacityAddon.fileService().getMinecraftDir().getAbsolutePath() + "/labymod-neo/addons/" + addonName);
return file;
return new File(Laby.labyAPI().labyModLoader().getGameDirectory().toString() + "/labymod-neo/addons/" + addonName);
}

public static <T> T find(Collection<T> elements, Predicate<T> predicate) {
Expand Down

0 comments on commit 1213b61

Please sign in to comment.