zolantris / ValheimMods

Collection of ValheimMods, ValheimRaft (originally created by Sarcen) and a few other upcoming mods including a vehicles mod.
GNU General Public License v3.0
8 stars 4 forks source link

incompatible with Custom ships #84

Closed Dash200017 closed 1 month ago

Dash200017 commented 1 month ago

https://www.nexusmods.com/valheim/mods/2653?tab=description

Errors pop up in log when placing anything with hammer when both mods are installed

[Error : Unity Log] NullReferenceException: Object reference not set to an instance of an object Stack trace: ValheimRAFT.Patches.Player_Patch.PlacedPiece (Player player, UnityEngine.GameObject gameObject) (at <29ab4afd77064c2cb94779e0be45d334>:0) (wrapper dynamic-method) Player.DMD(Player,Piece) (wrapper dynamic-method) Player.DMD(Player,bool,single) (wrapper dynamic-method) Player.DMD(Player)

zolantris commented 1 month ago

It should be fine on 2.1.0. Tested it.