Fix up mistakes in the previous modifications

This commit is contained in:
libraryaddict 2014-11-26 21:35:45 +13:00
parent 03075fecae
commit 3ad3fb21ff
2 changed files with 2 additions and 1 deletions

View File

@ -55,7 +55,7 @@ public class HologramManager implements Listener
{ {
ArrayList<Player> canSee = hologram.getNearbyPlayers(); ArrayList<Player> canSee = hologram.getNearbyPlayers();
Iterator<Player> itel2 = hologram.getPlayersTracking().iterator(); Iterator<Player> itel2 = hologram.getPlayersTracking().iterator();
while (itel.hasNext()) while (itel2.hasNext())
{ {
Player player = itel2.next(); Player player = itel2.next();
if (!canSee.contains(player)) if (!canSee.contains(player))

View File

@ -32,6 +32,7 @@ public class ChestOpenAnimation extends Animation
public ChestOpenAnimation(Treasure treasure, ChestData chestData, RewardData rewardData, HologramManager hologramManager) public ChestOpenAnimation(Treasure treasure, ChestData chestData, RewardData rewardData, HologramManager hologramManager)
{ {
super(treasure); super(treasure);
_hologramManager = hologramManager;
_chestData = chestData; _chestData = chestData;
_rewardData = rewardData; _rewardData = rewardData;