Fixed the rest of merge conflicts (? [I hope {shaun help me ;-;}])
This commit is contained in:
parent
1e4b3442fa
commit
327c129f46
@ -61,7 +61,7 @@ public class PetReward extends UnknownPackageReward
|
||||
@Override
|
||||
public boolean canGiveReward(Player player)
|
||||
{
|
||||
if (DonationManager.Get(player.getName()) == null)
|
||||
if (_donationManager.Get(player.getName()) == null)
|
||||
{
|
||||
System.out.println("Could not give reward " + getPackageName() + " to Offline Player: " + player.getName());
|
||||
return false;
|
||||
|
@ -9,13 +9,14 @@ import mineplex.core.reward.Reward;
|
||||
import mineplex.core.reward.RewardData;
|
||||
import mineplex.core.reward.RewardManager;
|
||||
import mineplex.core.reward.RewardRarity;
|
||||
import mineplex.core.reward.RewardType;
|
||||
|
||||
/**
|
||||
* Created by shaun on 14-09-12.
|
||||
*/
|
||||
public class UnknownPackageReward extends Reward
|
||||
{
|
||||
private DonationManager _donationManager;
|
||||
protected DonationManager _donationManager;
|
||||
private ItemStack _itemStack;
|
||||
private String _name;
|
||||
private String _packageName;
|
||||
@ -30,7 +31,7 @@ public class UnknownPackageReward extends Reward
|
||||
}
|
||||
|
||||
@Override
|
||||
protected RewardData giveRewardCustom(Player player)
|
||||
protected RewardData giveRewardCustom(Player player, RewardType type)
|
||||
{
|
||||
_donationManager.PurchaseUnknownSalesPackage(null, player.getName(), _donationManager.getClientManager().Get(player).getAccountId(), _packageName, CurrencyType.Coins, 0, true);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user