Error while compiling HuntRPG: 'PlayerInventory' does not contain a definition for 'AllItems'

Error:

Error while compiling HuntRPG: 'PlayerInventory' does not contain a definition for 'AllItems' and no accessible extension method 'AllItems' accepting a first argument of type 'PlayerInventory' could be found (are you missing a using directive or an assembly reference?) | Line: 1881, Pos: 51

Anybody know of a way to fix it? I really love this plugin, I think it's way superior to ZLevels and I'd rather stick with my beloved HuntRPG. Thanks.

im hoping this fix from the mlrs mod works here

 

#region Skill
private void UpdateGatherPlayer(BasePlayer player, RPGInfo rpgInfo)
{

var items = new List<Item>();
player.inventory.GetAllItems(items);
var mlrsMissleContainer = items;

foreach (var item in mlrsMissleContainer)
UpdateGather(item, rpgInfo);

}

private void UpdateMagazinPlayer(BasePlayer player, RPGInfo rpgInfo)
{

var items = new List<Item>();
player.inventory.GetAllItems(items);
var mlrsMissleContainer = items;

if (MagazinBoost == true) return;
foreach (var item in mlrsMissleContainer)
UpdateMagazin(item, rpgInfo);
}

private void UpdateEffectsPlayer(BasePlayer player, RPGInfo rpgInfo)
{

var items = new List<Item>();
player.inventory.GetAllItems(items);
var mlrsMissleContainer = items;

foreach (var item in mlrsMissleContainer)
{
UpdateGather(item, rpgInfo);
if (MagazinBoost == true) return;
UpdateMagazin(item, rpgInfo);
}
}

 

Uberkist, my man, I love you with all my heart, with your fix and the other fix mentioned to line 433 the plugin is now fully operational again, if anyone else is interested I can link the fixed .cs file or just follow Uberkist's steps and ADD those lines to the .cs file.

Once again, thank you so much!