Skip to content

Commit

Permalink
fix: some compatibility fixes for Rust mods
Browse files Browse the repository at this point in the history
  • Loading branch information
niekcandaele committed Dec 30, 2024
1 parent 8442b0b commit 30abd37
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion mods/HookParser.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

namespace Oxide.Plugins;

[Info("Hook Parser", "Takaro", "0.0.1")]
[Info("Hook Parser", "Takaro", "0.0.2")]
internal class HookParser : RustPlugin
{
#region Oxide Hooks
Expand Down
4 changes: 2 additions & 2 deletions mods/ViewInventory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

namespace Oxide.Plugins;

[Info("ViewInventory", "Takaro", "0.0.1")]
[Info("ViewInventory", "Takaro", "0.0.2")]
internal class ViewInventory : RustPlugin
{
[ConsoleCommand("viewinventory")]
Expand Down Expand Up @@ -32,7 +32,7 @@ private void CmdViewInventory(ConsoleSystem.Arg arg)
return;
}

string inventoryJson = ConvertItemsToJson(player.inventory.AllItems());
string inventoryJson = ConvertItemsToJson(player.inventory.containerMain.itemList);

CmdResponse response = new(player.displayName, player.UserIDString, player.net.ID.ToString(), inventoryJson);

Expand Down

0 comments on commit 30abd37

Please sign in to comment.