remove deleteItem2 → deleteItem (#212)

This commit is contained in:
Danial
2019-11-25 17:07:52 +13:00
committed by Daniel Ginovker
parent f1ea4810dd
commit 3d1ae1b288
81 changed files with 192 additions and 217 deletions
@@ -574,7 +574,7 @@ public class ShopAssistant {
String itemName = ItemAssistant.getItemName(itemID).toLowerCase();
if (!showIsOwnedByThisPlayer) {
player.getItemAssistant().deleteItem2(currency, totalValue);
player.getItemAssistant().deleteItem(currency, totalValue);
player.getActionSender().sendMessage("You bought " + amount + " " + itemName + " for " + totalValue + " " + currencyName + "." );
// If it is a player owned shop, we need to give them the coins
if (ShopHandler.ShopSModifier[player.myShopId] == 0)