<commit_before>namespace Pluton.Rust.Events
{
	using Core;
	using Rust;
	using Rust.Objects;

	public class PlayerClothingEvent : Event
	{
		public readonly Player Player;
		public readonly InvItem Item;

		public PlayerClothingEvent(PlayerInventory playerInventory, Item item)
		{
			Player = Server.GetPlayer(playerInventory.GetComponent<BasePlayer>());
			Item = new InvItem(item);
		}
	}
}<commit_msg>Removing GetComponent() call on PlayerClothingEvent (performance hit)<commit_after>namespace Pluton.Rust.Events
{
	using Core;
	using Rust;
	using Rust.Objects;

	public class PlayerClothingEvent : Event
	{
		public readonly Player Player;
		public readonly InvItem Item;

		public PlayerClothingEvent(PlayerInventory playerInventory, Item item)
		{
			Player = Server.GetPlayer(playerInventory.containerMain.playerOwner);
			Item = new InvItem(item);
		}
	}
}
{'fraction_non_alphanumeric': 0.08208092485549133, 'fraction_numerical': 0.0, 'mean_word_length': 5.098591549295775, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5873632', 'n_tokens_mistral': 287, 'n_tokens_neox': 257, 'n_words': 66}