This PR replaces Harmony with TerrariaHooks. It's compatible with both TerrariaHooks v0.5 and v0.6.
I fully understand if you're not going to merge this PR, but it improves compatibility with other mods which might want to "hook" FindRecipes or AdjTiles.
This PR also adds a few conditionals to the .csproj to build the project when Terraria and tModLoader are present on another path (namely Terraria on C:\ and tModLoader in ..\).
This PR replaces Harmony with TerrariaHooks. It's compatible with both TerrariaHooks v0.5 and v0.6.
I fully understand if you're not going to merge this PR, but it improves compatibility with other mods which might want to "hook"
FindRecipes
orAdjTiles
.This PR also adds a few conditionals to the
.csproj
to build the project when Terraria and tModLoader are present on another path (namely Terraria onC:\
and tModLoader in..\
).