Commit RankBonusPage so I can commit quest stuff while I figure out what the cust repo is doing
This commit is contained in:
parent
e81a36e135
commit
ce946f7927
@ -11,6 +11,7 @@ import mineplex.core.common.util.C;
|
|||||||
import mineplex.core.shop.item.ShopItem;
|
import mineplex.core.shop.item.ShopItem;
|
||||||
import mineplex.staffServer.customerSupport.CustomerSupport;
|
import mineplex.staffServer.customerSupport.CustomerSupport;
|
||||||
import mineplex.staffServer.ui.chest.SupportChestPage;
|
import mineplex.staffServer.ui.chest.SupportChestPage;
|
||||||
|
import mineplex.staffServer.ui.currency.SupportCurrencyPage;
|
||||||
|
|
||||||
public class SupportHomePage extends SupportPage
|
public class SupportHomePage extends SupportPage
|
||||||
{
|
{
|
||||||
|
@ -36,6 +36,8 @@ public class SupportPage extends ShopPageBase<CustomerSupport, SupportShop>
|
|||||||
{
|
{
|
||||||
super(plugin, shop, plugin.getClientManager(), plugin.getDonationManager(), name + " - " + target.getName(), player);
|
super(plugin, shop, plugin.getClientManager(), plugin.getDonationManager(), name + " - " + target.getName(), player);
|
||||||
|
|
||||||
|
assert name.length() < 13;
|
||||||
|
|
||||||
_target = target;
|
_target = target;
|
||||||
_donor = getPlugin().getDonationManager().Get(_target.getUniqueId());
|
_donor = getPlugin().getDonationManager().Get(_target.getUniqueId());
|
||||||
_previousPage = previousPage;
|
_previousPage = previousPage;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
package mineplex.staffServer.ui;
|
package mineplex.staffServer.ui.currency;
|
||||||
|
|
||||||
import org.bukkit.entity.Player;
|
import org.bukkit.entity.Player;
|
||||||
|
|
||||||
@ -7,6 +7,8 @@ import mineplex.core.common.currency.GlobalCurrency;
|
|||||||
import mineplex.core.common.util.C;
|
import mineplex.core.common.util.C;
|
||||||
import mineplex.core.shop.item.ShopItem;
|
import mineplex.core.shop.item.ShopItem;
|
||||||
import mineplex.staffServer.customerSupport.CustomerSupport;
|
import mineplex.staffServer.customerSupport.CustomerSupport;
|
||||||
|
import mineplex.staffServer.ui.SupportPage;
|
||||||
|
import mineplex.staffServer.ui.SupportShop;
|
||||||
|
|
||||||
public class SupportCurrencyPage extends SupportPage
|
public class SupportCurrencyPage extends SupportPage
|
||||||
{
|
{
|
@ -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();
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user