Terraria.ModLoader.PlayerHooks.PreUpdate C# (CSharp) Method