Jump to content

Not compiling after Server update!

Closed 3.4.10 3.4.11

VENIQQ
VENIQQ

Posted

Failed to compile: '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: 3712, Pos: 46

RustCore

Posted

Failed to compile: '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: 3717, Pos: 46

 

TacTicToe

Posted

RaidProtection - Failed to compile: '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: 3707, Pos: 46

TacTicToe

Posted

Fixed it myself, till official update. 

VENIQQ

Posted

Ok, I've commented out line 3712 and replaced with return null;
Tugboat protection doesn't work anyway so don't need that.

Here is my quick "fix" if anyone interested
 

public override List<Item> InventoryItemList
            {
                get
                {
                    return null; // this is added
                    //return Driver?.inventory.AllItems().ToList() ?? new List<Item>();
                }
            }

 

WavyDankk

Posted

53 minutes ago, VENIQQ said:

Ok, I've commented out line 3712 and replaced with return null;
Tugboat protection doesn't work anyway so don't need that.

Here is my quick "fix" if anyone interested
 

public override List<Item> InventoryItemList
            {
                get
                {
                    return null; // this is added
                    //return Driver?.inventory.AllItems().ToList() ?? new List<Item>();
                }
            }

 

Thank you!! 🙂

Grannville

Posted

1 hour ago, VENIQQ said:

Ok, I've commented out line 3712 and replaced with return null;
Tugboat protection doesn't work anyway so don't need that.

Here is my quick "fix" if anyone interested
 

public override List<Item> InventoryItemList
            {
                get
                {
                    return null; // this is added
                    //return Driver?.inventory.AllItems().ToList() ?? new List<Item>();
                }
            }

 

thanks for the fix

Mr01sam

Posted

Changed Status from Pending to Closed

Changed Fixed In to 3.4.11

0

Downloads

Total number of downloads.

0

Customers

Total customers served.

0

Files Sold

Total number of files sold.

0

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.