added big larry to chests

This commit is contained in:
Mini-Chiss 2015-08-17 13:05:41 +02:00
parent 9eed03237b
commit b7854e6cab
2 changed files with 3 additions and 1 deletions

View File

@ -301,6 +301,8 @@ public class RewardManager
new ItemStack(Material.SKULL_ITEM, 1, (short) 0, (byte) 1), rarity, 25));
addReward(new UnknownPackageReward(donationManager, "Block Morph", "Block Morph",
new ItemStack(Material.EMERALD_BLOCK), rarity, 20));
addReward(new UnknownPackageReward(donationManager, "Big Larry Morph", "Big Larry Morph",
new ItemStack(Material.SLIME_BALL), rarity, 10));
// Particles
addReward(new UnknownPackageReward(donationManager, "Shadow Walk Particles", "Shadow Walk",

View File

@ -49,7 +49,7 @@ public class BackCommand extends CommandBase<Teleport>
int back = 0;
for (int i = 0 ; i < amount ; i++)
{
if (Plugin.GetTPHistory(player).isEmpty())
if (Plugin.GetTPHistory(player) == null || Plugin.GetTPHistory(player).isEmpty())
break;
loc = Plugin.GetTPHistory(player).removeFirst();