Jump to content

Sarestore command issue

Pending 1.0.25

ELF
ELF

Posted

when using the /sarestore command this error is thrown, and 1 item is given. doesnt clear player from the list, so they can claimthat 1 item over and over:

NullReferenceException: Object reference not set to an instance of an object
  at Oxide.Plugins.SurvivalArena.GetRestoreItem (BasePlayer player, ItemContainer container, Oxide.Plugins.SurvivalArena+ItemInfo savedItem, System.Boolean forceMove) (at /home/container/carbon/plugins/SurvivalArena.cs:5126)
  at Oxide.Plugins.SurvivalArena.RestoreItems (BasePlayer player, Oxide.Plugins.SurvivalArena+PCDInfo playerData, System.Boolean force) (at /home/container/carbon/plugins/SurvivalArena.cs:5083)
  at Oxide.Plugins.SurvivalArena.HandleItemRestore (BasePlayer player, Oxide.Plugins.SurvivalArena+PCDInfo playerData, System.Boolean force) (at /home/container/carbon/plugins/SurvivalArena.cs:5029)
  at Oxide.Plugins.SurvivalArena+<>c__DisplayClass298_0.<HandleFromCMD>b__0 () (at /home/container/carbon/plugins/SurvivalArena.cs:5180)
  at InvokeHandlerBase`1[T].DoTick () (at <10e2136150f345d986869e002ba9993e>:0)
  at InvokeHandlerBase`1[T].LateUpdate () (at <10e2136150f345d986869e002ba9993e>:0)
NullReferenceException: Object reference not set to an instance of an object
  at Oxide.Plugins.SurvivalArena.GetRestoreItem (BasePlayer player, ItemContainer container, Oxide.Plugins.SurvivalArena+ItemInfo savedItem, System.Boolean forceMove) [0x00174] in /home/container/carbon/plugins/SurvivalArena.cs:5126 
  at Oxide.Plugins.SurvivalArena.RestoreItems (BasePlayer player, Oxide.Plugins.SurvivalArena+PCDInfo playerData, System.Boolean force) [0x000d6] in /home/container/carbon/plugins/SurvivalArena.cs:5083 
  at Oxide.Plugins.SurvivalArena.HandleItemRestore (BasePlayer player, Oxide.Plugins.SurvivalArena+PCDInfo playerData, System.Boolean force) [0x0001b] in /home/container/carbon/plugins/SurvivalArena.cs:5029 
  at Oxide.Plugins.SurvivalArena+<>c__DisplayClass298_0.<HandleFromCMD>b__0 () [0x00000] in /home/container/carbon/plugins/SurvivalArena.cs:5180 
  at InvokeHandlerBase`1[T].DoTick () [0x00138] in <10e2136150f345d986869e002ba9993e>:0 
  at InvokeHandlerBase`1[T].LateUpdate () [0x0000c] in <10e2136150f345d986869e002ba9993e>:0 

(Filename: /home/container/carbon/plugins/SurvivalArena.cs Line: 5126)

 

imthenewguy

Posted

Have asked a few people on my discord to test a debug version to see what is causing this issue.

 

  • Like 1
1.6m

Downloads

Total number of downloads.

7.7k

Customers

Total customers served.

115.4k

Files Sold

Total number of files sold.

2.3m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.