Jump to content

Katsune Teku

Members
  • Posts

    1
  • Joined

Posts posted by Katsune Teku

  1. Hello, enjoying the mod a lot with the new update. But I'm having an issue as a host with the RH_ReturnModsOnBreak, when a client exhausted their tool/weapon durability and removes it from their inventory, the game constantly spams my console with the NullReferenceException whenever they attempted to use a replacement one every hit/swing/etc:

     

    (Filename: <7ec73e25a56240f6a15ad73e46d19da3> Line: 0)
    
    NullReferenceException: Object reference not set to an instance of an object
    at RH_ReturnModsOnBreak+PatchInventoryclearSlotByInde x.Prefix (Inventory __instance, System.Int32 _idx) [0x000e5] in <7ec73e25a56240f6a15ad73e46d19da3>:0
    at (wrapper dynamic-method) Inventory.clearSlotByIndex_Patch1(object,int)
    at Inventory.SetItem (System.Int32 _idx, ItemValue _itemValue, System.Int32 _count) [0x00093] in <3ca2702590144b2c95bd610195728952>:0
    at Inventory.SetItem (System.Int32 _idx, ItemStack _itemStack) [0x00000] in <3ca2702590144b2c95bd610195728952>:0
    at NetPackagePlayerStats.ProcessPackage (World _world, INetConnectionCallbacks _netConnectionCallback) [0x000f1] in <3ca2702590144b2c95bd610195728952>:0
    at ConnectionManager.ProcessPackages (INetConnection _connection, NetPackageDirection _disallowedDirection) [0x000b2] in <3ca2702590144b2c95bd610195728952>:0
    at ConnectionManager.Update () [0x00053] in <3ca2702590144b2c95bd610195728952>:0

     

    Any solution or fix is appreciated, thanks.

×
×
  • Create New...