Jump to content

Update needed

Pending 1.1.1

Hello, after the Rust update today the plugin wont load

 

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

Share this comment


Link to comment

Fixed

in cs file find line 

 

List<Item> playerFuel = player.inventory.FindItemIDs(oven.fuelType.itemid);




and replace with

 

List<Item> playerFuel = player.inventory.FindItemsByItemID(oven.fuelType.itemid);

 

  • Like 1

Share this comment


Link to comment
1.1m

Downloads

Total number of downloads.

5.7k

Customers

Total customers served.

83.5k

Files Sold

Total number of files sold.

1.6m

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.