Commit RankBonusPage so I can commit quest stuff while I figure out what the cust repo is doing

This commit is contained in:
Spencer 2018-01-04 19:30:02 -05:00 committed by Alexander Meech
parent e81a36e135
commit ce946f7927
4 changed files with 30 additions and 1 deletions

View File

@ -11,6 +11,7 @@ import mineplex.core.common.util.C;
import mineplex.core.shop.item.ShopItem;
import mineplex.staffServer.customerSupport.CustomerSupport;
import mineplex.staffServer.ui.chest.SupportChestPage;
import mineplex.staffServer.ui.currency.SupportCurrencyPage;
public class SupportHomePage extends SupportPage
{

View File

@ -36,6 +36,8 @@ public class SupportPage extends ShopPageBase<CustomerSupport, SupportShop>
{
super(plugin, shop, plugin.getClientManager(), plugin.getDonationManager(), name + " - " + target.getName(), player);
assert name.length() < 13;
_target = target;
_donor = getPlugin().getDonationManager().Get(_target.getUniqueId());
_previousPage = previousPage;

View File

@ -1,4 +1,4 @@
package mineplex.staffServer.ui;
package mineplex.staffServer.ui.currency;
import org.bukkit.entity.Player;
@ -7,6 +7,8 @@ import mineplex.core.common.currency.GlobalCurrency;
import mineplex.core.common.util.C;
import mineplex.core.shop.item.ShopItem;
import mineplex.staffServer.customerSupport.CustomerSupport;
import mineplex.staffServer.ui.SupportPage;
import mineplex.staffServer.ui.SupportShop;
public class SupportCurrencyPage extends SupportPage
{

View File

@ -0,0 +1,24 @@
package mineplex.staffServer.ui.rank;
import org.bukkit.entity.Player;
import mineplex.core.account.CoreClient;
import mineplex.staffServer.customerSupport.CustomerSupport;
import mineplex.staffServer.ui.SupportPage;
import mineplex.staffServer.ui.SupportShop;
public class SupportRankBonusPage extends SupportPage
{
public SupportRankBonusPage(CustomerSupport plugin, SupportShop shop, Player player, CoreClient target, SupportPage previousPage, String name)
{
super(plugin, shop, player, target, previousPage, "Rank Bonus");
}
@Override
protected void buildPage()
{
super.buildPage();
}
}