Skip to content

Commit

Permalink
Changed url to csv files
Browse files Browse the repository at this point in the history
  • Loading branch information
TFSMads committed Apr 5, 2024
1 parent 727e55e commit edacf28
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -206,19 +206,19 @@ private static Path getUpdaterPath() {
public static void updateCsvFiles(DataManager<Data> dataManager) {
updateCsvFile(
new File(UnikAPI.getCommonDataFolder(), "transporter-items.csv"),
"https://raw.githubusercontent.com/TFSMads/transporter/master/src/main/resources/transporter/transporter-items.csv",
"https://raw.githubusercontent.com/TFSMads/transporter/master/core/src/main/resources/transporter/transporter-items.csv",
!dataManager.getSettings().getData().has("updateItemsFromGithub")
|| dataManager.getSettings().getData().get("updateItemsFromGithub").getAsBoolean()
);
updateCsvFile(
new File(UnikAPI.getCommonDataFolder(), "transporter-messages.csv"),
"https://raw.githubusercontent.com/TFSMads/transporter/master/src/main/resources/transporter/transporter-messages.csv",
"https://raw.githubusercontent.com/TFSMads/transporter/master/core/src/main/resources/transporter/transporter-messages.csv",
!dataManager.getSettings().getData().has("updateMessagesFromGithub")
|| dataManager.getSettings().getData().get("updateMessagesFromGithub").getAsBoolean()
);
updateCsvFile(
new File(UnikAPI.getCommonDataFolder(), "transporter-balance-messages.csv"),
"https://raw.githubusercontent.com/TFSMads/transporter/master/src/main/resources/transporter/transporter-balance-messages.csv",
"https://raw.githubusercontent.com/TFSMads/transporter/master/core/src/main/resources/transporter/transporter-balance-messages.csv",
!dataManager.getSettings().getData().has("updateBalanceMessagesFromGithub")
|| dataManager.getSettings().getData().get("updateBalanceMessagesFromGithub").getAsBoolean()
);
Expand Down

0 comments on commit edacf28

Please sign in to comment.