Fix up mistakes in the previous modifications
This commit is contained in:
parent
03075fecae
commit
3ad3fb21ff
@ -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))
|
||||||
|
@ -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;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user