Skip to content

Commit

Permalink
Add servers.dat
Browse files Browse the repository at this point in the history
  • Loading branch information
CADIndie committed Sep 5, 2024
1 parent eb4fa0f commit 315e489
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 0 deletions.
Binary file added src/main/assets/servers.dat
Binary file not shown.
1 change: 1 addition & 0 deletions src/main/java/pojlib/install/Installer.java
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ public static String installAssets(VersionInfo minecraftVersionInfo, String game
FileUtils.writeByteArrayToFile(new File(instance.gameDir + "/config/modernfix-mixins.properties"), FileUtil.loadFromAssetToByte(activity,"modernfix-mixins.properties"));
FileUtils.writeByteArrayToFile(new File(instance.gameDir + "/options.txt"), FileUtil.loadFromAssetToByte(activity, "options.txt"));
FileUtils.writeByteArrayToFile(new File(instance.gameDir + "/optionsviveprofiles.txt"), FileUtil.loadFromAssetToByte(activity, "optionsviveprofiles.txt"));
FileUtils.writeByteArrayToFile(new File(instance.gameDir + "/servers.dat"), FileUtil.loadFromAssetToByte(activity, "servers.dat"));
FileUtils.writeByteArrayToFile(new File(Constants.USER_HOME + "/hacks/ResConfHack.jar"), FileUtil.loadFromAssetToByte(activity, "hacks/ResConfHack.jar"));

return new File(gameDir + "/assets").getAbsolutePath();
Expand Down

0 comments on commit 315e489

Please sign in to comment.