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)

 

  • Curator
imthenewguy

Posted

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

 

About Us

Codefling is the largest marketplace for plugins, maps, tools, and more, making it easy for customers to discover new content and for creators to monetize their work.

Downloads
2.4m
Total downloads
Customers
10.8k
Customers served
Files Sold
155.7k
Marketplace sales
Payments
3.3m
Processed total
×
×
  • 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.