From ab21efd2cae7f476cb68be97003bb31168128493 Mon Sep 17 00:00:00 2001 From: cnr Date: Wed, 13 Apr 2016 18:51:52 -0500 Subject: [PATCH] Give the correct amount of old/ancient chests for bonuses --- .../Mineplex.Core/src/mineplex/core/bonuses/BonusManager.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Plugins/Mineplex.Core/src/mineplex/core/bonuses/BonusManager.java b/Plugins/Mineplex.Core/src/mineplex/core/bonuses/BonusManager.java index d497d7caa..432842903 100644 --- a/Plugins/Mineplex.Core/src/mineplex/core/bonuses/BonusManager.java +++ b/Plugins/Mineplex.Core/src/mineplex/core/bonuses/BonusManager.java @@ -738,14 +738,14 @@ public class BonusManager extends MiniClientPlugin implements I { //_inventoryManager.addItemToInventory(player, TreasureType.OLD.getItemName(), oldChests); UtilPlayer.message(player, F.main("Carl", "Rewarded " + F.elem(oldChests + " Old Chests"))); - _inventoryManager.Get(player).addItem(new ClientItem(_inventoryManager.getItem(TreasureType.OLD.getItemName()), mythicalChests)); + _inventoryManager.Get(player).addItem(new ClientItem(_inventoryManager.getItem(TreasureType.OLD.getItemName()), oldChests)); } if (ancientChests > 0) { UtilPlayer.message(player, F.main("Carl", "Rewarded " + F.elem(ancientChests + " Ancient Chests"))); //_inventoryManager.addItemToInventory(player, TreasureType.ANCIENT.getItemName(), ancientChests); - _inventoryManager.Get(player).addItem(new ClientItem(_inventoryManager.getItem(TreasureType.ANCIENT.getItemName()), mythicalChests)); + _inventoryManager.Get(player).addItem(new ClientItem(_inventoryManager.getItem(TreasureType.ANCIENT.getItemName()), ancientChests)); } if (mythicalChests > 0)