From b7854e6cab1eafc4a75510b6b7d2b57cda8b885b Mon Sep 17 00:00:00 2001 From: Mini-Chiss Date: Mon, 17 Aug 2015 13:05:41 +0200 Subject: [PATCH] added big larry to chests --- .../Mineplex.Core/src/mineplex/core/reward/RewardManager.java | 2 ++ .../src/mineplex/core/teleport/command/BackCommand.java | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Plugins/Mineplex.Core/src/mineplex/core/reward/RewardManager.java b/Plugins/Mineplex.Core/src/mineplex/core/reward/RewardManager.java index 8932c3658..4945391e1 100644 --- a/Plugins/Mineplex.Core/src/mineplex/core/reward/RewardManager.java +++ b/Plugins/Mineplex.Core/src/mineplex/core/reward/RewardManager.java @@ -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", diff --git a/Plugins/Mineplex.Core/src/mineplex/core/teleport/command/BackCommand.java b/Plugins/Mineplex.Core/src/mineplex/core/teleport/command/BackCommand.java index 4b198fb39..3f4d5b97d 100644 --- a/Plugins/Mineplex.Core/src/mineplex/core/teleport/command/BackCommand.java +++ b/Plugins/Mineplex.Core/src/mineplex/core/teleport/command/BackCommand.java @@ -49,7 +49,7 @@ public class BackCommand extends CommandBase 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();