diff --git a/TShockAPI/TSPlayer.cs b/TShockAPI/TSPlayer.cs index 71ad2124..5a2e393a 100644 --- a/TShockAPI/TSPlayer.cs +++ b/TShockAPI/TSPlayer.cs @@ -1287,22 +1287,6 @@ namespace TShockAPI SendData(PacketTypes.ItemDrop, "", itemIndex); } - /// - /// Gives an item to the player. - /// - /// The item ID. - /// The item name. This parameter is unused. - /// The width of the receiver. - /// The height of the receiver. - /// The item stack. - /// The item prefix. - [Obsolete("Use the GiveItem overload with fewer parameters.")] - public virtual void GiveItem(int type, string name, int width, int height, int stack, int prefix = 0) - { - int itemIndex = Item.NewItem((int)X, (int)Y, width, height, type, stack, true, prefix, true); - SendData(PacketTypes.ItemDrop, "", itemIndex); - } - /// /// Sends an information message to the player. ///