Renamed classes

This commit is contained in:
LCastr0 2017-03-13 10:59:19 -03:00
parent 137220d58f
commit e297f844e6
4 changed files with 9 additions and 9 deletions

View File

@ -36,7 +36,7 @@ import mineplex.core.cosmetic.ui.button.PetButton;
import mineplex.core.cosmetic.ui.button.RenamePetButton;
import mineplex.core.cosmetic.ui.button.activate.ActivatePetButton;
import mineplex.core.cosmetic.ui.button.deactivate.DeactivatePetButton;
import mineplex.core.cosmetic.ui.page.custompet.CustomPetBase;
import mineplex.core.cosmetic.ui.page.custompet.CustomPetBasePage;
import mineplex.core.donation.DonationManager;
import mineplex.core.pet.PetExtra;
import mineplex.core.pet.PetType;
@ -256,7 +256,7 @@ public class PetPage extends ShopPageBase<CosmeticManager, CosmeticShop>
// Custom pet
addButton(50, new ShopItem(Material.GLASS, C.cGreen + "Custom", new String[]{}, 1, false), (player, clickType) ->
getShop().openPageForPlayer(getPlayer(), new CustomPetBase(getPlugin(), getShop(), getClientManager(), getDonationManager(), "Custom Pet", player)));
getShop().openPageForPlayer(getPlayer(), new CustomPetBasePage(getPlugin(), getShop(), getClientManager(), getDonationManager(), "Custom Pet", player)));
addButton(4, new ShopItem(Material.BED, C.cGray + " \u21FD Go Back", new String[]{}, 1, false), (player, clickType) ->

View File

@ -14,10 +14,10 @@ import mineplex.core.pet.custom.CustomPet;
import mineplex.core.pet.custom.CustomPetAgeable;
import mineplex.core.shop.item.ShopItem;
public class CustomPetAge extends GadgetPage
public class CustomPetAgePage extends GadgetPage
{
public CustomPetAge(CosmeticManager plugin, CosmeticShop shop, CoreClientManager clientManager, DonationManager donationManager, String name, Player player)
public CustomPetAgePage(CosmeticManager plugin, CosmeticShop shop, CoreClientManager clientManager, DonationManager donationManager, String name, Player player)
{
super(plugin, shop, clientManager, donationManager, name, player);
}

View File

@ -13,10 +13,10 @@ import mineplex.core.donation.DonationManager;
import mineplex.core.pet.custom.CustomPet;
import mineplex.core.shop.item.ShopItem;
public class CustomPetBase extends GadgetPage
public class CustomPetBasePage extends GadgetPage
{
public CustomPetBase(CosmeticManager plugin, CosmeticShop shop, CoreClientManager clientManager, DonationManager donationManager, String name, Player player)
public CustomPetBasePage(CosmeticManager plugin, CosmeticShop shop, CoreClientManager clientManager, DonationManager donationManager, String name, Player player)
{
super(plugin, shop, clientManager, donationManager, name, player);
}

View File

@ -8,7 +8,7 @@ import mineplex.core.account.CoreClientManager;
import mineplex.core.cosmetic.CosmeticManager;
import mineplex.core.cosmetic.ui.CosmeticShop;
import mineplex.core.cosmetic.ui.page.GadgetPage;
import mineplex.core.cosmetic.ui.page.custompet.CustomPetAge;
import mineplex.core.cosmetic.ui.page.custompet.CustomPetAgePage;
import mineplex.core.disguise.DisguiseFactory;
import mineplex.core.disguise.disguises.DisguiseZombie;
import mineplex.core.donation.DonationManager;
@ -62,10 +62,10 @@ public class CustomPetZombie extends CustomPetEquipment
{
case 0:
_step++;
return new CustomPetAge(plugin, shop, clientManager, donationManager, "Zombie Age", _player);
return new CustomPetAgePage(plugin, shop, clientManager, donationManager, "Zombie Age", _player);
default:
_step++;
return new CustomPetAge(plugin, shop, clientManager, donationManager, "Zombie Age", _player);
return new CustomPetAgePage(plugin, shop, clientManager, donationManager, "Zombie Age", _player);
}
}
}