Type `Oxide.Plugins.StackSizeController.ItemInfo' does not contain a definition for `IsNull'Fixed


Delete the StackSizeController.cs file from your oxide>plugins folder. Download the new updated StackSizeController.cs file and upload it to the same folder. 

I've not restarted my server since updating this plugin, but once I've reloaded it, I've been left with this error:


Failed to call hook 'CanMoveItem' on plugin 'StackSizeController v3.4.2' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.StackSizeController.CanMoveItem (Item item, PlayerInventory playerLoot, System.UInt32 targetContainer, System.Int32 targetSlot, System.Int32 amount) [0x0001a] in :0 
  at Oxide.Plugins.StackSizeController.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00e7e] in :0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <31122a27a2414cd799150f8677cf39d4>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in :0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in :0 

Is this anything to worry about does anyone know?

RSvw987csbMOfaa.jpg Wulf
Wouldn't be this error then, as this was a compile error. Please check for the specific error and post in the relevant thread.

Sorry for the confusing, it isn't the same error, but a known one, which is already in the forum..


How would i update the plugin, kind of new to this. does it do it automaticly by restarting server? dedicated server

sorry, forgot to quote you lol.

Delete the StackSizeController.cs file in your oxide>plugins folder. Download the updated StackSizeController.cs file from umod, then upload it to the same folder. 

For those having the CanMoveItem NRE, there is a separate thread for that. This is not the same issue.

Locked automatically