From c2d8461fb84523f5e9cce182f6cc9b4628cb7287 Mon Sep 17 00:00:00 2001 From: ricky Date: Fri, 17 Jun 2011 01:47:26 +1000 Subject: [PATCH] Removed unused UpdateInventories and UpdatePlayers methods from TShock.cs --- TShockAPI/TShock.cs | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/TShockAPI/TShock.cs b/TShockAPI/TShock.cs index fd18f449..7cdfac77 100755 --- a/TShockAPI/TShock.cs +++ b/TShockAPI/TShock.cs @@ -465,26 +465,6 @@ namespace TShockAPI } } - public static void UpdateInventories() - { - for (int i = 0; i < Main.player.Length; i++) - { - for (int j = 0; j < 44; j++) - { - for (int h = 0; h < Main.player.Length; h++) - NetMessage.SendData(5, h, i, Main.player[i].inventory[j].name, i, j, 0f, 0f); - } - } - } - - public static void UpdatePlayers() - { - for (int i = 0; i < Main.player.Length; i++) - { - for (int h = 0; h < Main.player.Length; h++) - NetMessage.SendData(0x0d, i, -1, "", h); - } - } public static void PlayerDamage(TSPlayer player, int damage) {