Add Davy Jones' booty item
This commit is contained in:
parent
9fa37824fe
commit
e15a004646
@ -7,12 +7,14 @@ import java.util.List;
|
|||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
import java.util.stream.Collectors;
|
import java.util.stream.Collectors;
|
||||||
|
|
||||||
|
import org.bukkit.Material;
|
||||||
import org.bukkit.entity.Player;
|
import org.bukkit.entity.Player;
|
||||||
import org.bukkit.inventory.ItemStack;
|
import org.bukkit.inventory.ItemStack;
|
||||||
import org.bukkit.inventory.meta.ItemMeta;
|
import org.bukkit.inventory.meta.ItemMeta;
|
||||||
|
|
||||||
import mineplex.core.account.CoreClient;
|
import mineplex.core.account.CoreClient;
|
||||||
import mineplex.core.common.util.C;
|
import mineplex.core.common.util.C;
|
||||||
|
import mineplex.core.itemstack.ItemBuilder;
|
||||||
import mineplex.core.shop.page.MultiPageManager;
|
import mineplex.core.shop.page.MultiPageManager;
|
||||||
import mineplex.core.treasure.types.TreasureType;
|
import mineplex.core.treasure.types.TreasureType;
|
||||||
import mineplex.staffServer.customerSupport.CustomerSupport;
|
import mineplex.staffServer.customerSupport.CustomerSupport;
|
||||||
@ -100,5 +102,13 @@ public class SupportChestPage extends SupportPage
|
|||||||
super.buildPage();
|
super.buildPage();
|
||||||
|
|
||||||
_multiPageManager.buildPage();
|
_multiPageManager.buildPage();
|
||||||
|
|
||||||
|
addItem(getSlotIndex(5, 4),
|
||||||
|
new ItemBuilder(Material.GOLD_INGOT)
|
||||||
|
.setTitle(C.cGreenB + "Davy Jones' Booty")
|
||||||
|
.addLore(C.mBody + "Old Chests Received: " + C.cYellow + _treasurePurchasedShop.get(TreasureType.OLD))
|
||||||
|
.addLore(C.mBody + "Ancient Chests Received: " + C.cYellow + _treasurePurchasedShop.get(TreasureType.ANCIENT))
|
||||||
|
.addLore(C.mBody + "Mythical Chests Received: " + C.cYellow + _treasurePurchasedShop.get(TreasureType.MYTHICAL))
|
||||||
|
.build());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user