1.0 compatibility
This commit is contained in:
parent
5104f86ede
commit
6193b3ee2d
33 changed files with 712 additions and 49 deletions
|
|
@ -400,8 +400,10 @@ namespace RacesOfValheim
|
|||
/// The same shape as TrolTotemRaceLockPatch - the second station in the mod that refuses the hammer
|
||||
/// outright, because hiring dvergr with dvergr money is the race's identity and not a tool it owns.
|
||||
/// </summary>
|
||||
// Valheim 1.0 appended a 'bool cheated' parameter to this overload. The type array has to
|
||||
// match it exactly or the patch silently fails to bind and PatchAll throws.
|
||||
[HarmonyPatch(typeof(Player), "PlacePiece",
|
||||
new[] { typeof(Piece), typeof(Vector3), typeof(Quaternion), typeof(bool) })]
|
||||
new[] { typeof(Piece), typeof(Vector3), typeof(Quaternion), typeof(bool), typeof(bool) })]
|
||||
public static class DvergarBancoRaceLockPatch
|
||||
{
|
||||
public static bool Prefix(Player __instance, Piece __0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue