Skip to content

Commit

Permalink
Updated info for Deprecated zen method,
Browse files Browse the repository at this point in the history
Fixed GHA again
  • Loading branch information
Srdjan-V committed Oct 18, 2022
1 parent 7abf3a5 commit 5541bc9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/curseforge_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
release_type: "release"
changelog: "Changelog is available [here](https://github.com/${{ github.repository }}/releases/tag/v${{ steps.get_version.outputs.version }})."
changelog_type: "markdown"
relations: "tweaked-lib:requiredDependency,mixin-booter:requiredDependencyimmersive-petroleum:requiredDependency,had-enough-items:optionalDependency,crafttweaker:optionalDependency"
relations: "tweaked-lib:requiredDependency,mixin-booter:requiredDependency,immersive-petroleum:requiredDependency,had-enough-items:optionalDependency,crafttweaker:optionalDependency"
file_path: "${{ steps.get_mod_name.outputs.mod_name }}-${{ steps.get_version.outputs.version }}.jar"
project_id: "${{ secrets.CURSEFORGE_PROJECT_ID }}"
token: "${{ secrets.CURSEFORGE_API_KEY }}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,10 @@ public static void registerReservoirWithDrainChance(String name, ILiquidStack fl
}

@ZenMethod
@Deprecated
public static void registerPowerUsage(int tier, int capacity, int rft) {
// TODO: 11/10/2022 add docs
CraftTweakerAPI.logInfo("This method is deprecated 'mods.TweakedPetroleum.TweakedReservoir.registerPowerUsage()");
CraftTweakerAPI.logError("This method is deprecated 'mods.TweakedPetroleum.TweakedReservoir.registerPowerUsage()");
CraftTweakerAPI.logError("Go see https://github.com/Srdjan-V/TweakedPetroleum/blob/master/examples/examples.zs for the new way of adding Powertiers");
}

}

0 comments on commit 5541bc9

Please sign in to comment.