Error after update

rust copypaste After a certain period of time it gives this error and does not work. (I am running it with Raidable Bases)

"Exception while calling NextTick callback (IndexOutOfRangeException: Index was outside the bounds of the array.)
at Oxide.Plugins.CopyPaste.ProgressIOEntity (System.Collections.Generic.Dictionary`2[TKey,TValue] ioData, Oxide.Plugins.CopyPaste+PasteData pasteData) [0x003db] in <081dae41c4ac4124bbb26d9c34ded6e1>:0
at Oxide.Plugins.CopyPaste.PasteLoop (Oxide.Plugins.CopyPaste+PasteData pasteData) [0x000dc] in <081dae41c4ac4124bbb26d9c34ded6e1>:0
at Oxide.Plugins.CopyPaste+<>c__DisplayClass46_0.<PasteLoop>b__0 () [0x00000] in <081dae41c4ac4124bbb26d9c34ded6e1>:0
at Oxide.Core.OxideMod.OnFrame (System.Single delta) [0x00051] in <beb2b64691c64e2b95b99491bd85442c>:0 "

the inputs and outputs are out of bounds in the copypaste file

i think its electric furnace and one other entity

It was working fine before the September 05 update.

Thanks. I'll try.

nivex

updates break plugins.

use this fix
https://github.com/MrBlue/CopyPaste/pull/33/files

Thanks, but that's still not working for me.  Still getting this error:

09/08 17:12:34 | Exception while calling NextTick callback (KeyNotFoundException: The given key 'amount' was not present in the dictionary.)
at System.Collections.Generic.Dictionary`2[TKey,TValue].get_Item (TKey key) [0x0001e] in <8ce0bd04a7a04b4b9395538239d3fdd8>:0
at Oxide.Plugins.CopyPaste.PasteEntity (System.Collections.Generic.Dictionary`2[TKey,TValue] data, Oxide.Plugins.CopyPaste+PasteData pasteData, BaseEntity parent) [0x008fa] in <5f23133dc56040b8b8eaefba30df8601>:0
at Oxide.Plugins.CopyPaste.


It works fine on my server.

int amount = int.TryParse(signData["amount"].ToString(), out var parsedAmount) ? parsedAmount : 1;

should be

int amount = signData.ContainsKey("amount") && int.TryParse(signData["amount"].ToString(), out var parsedAmount) ? parsedAmount : 1;