return Collections.emptyList();
}
ArrayList<EntityPlayerMP> playersWatching = new ArrayList<>();
WorldServer server = (WorldServer) world;
PlayerManager playerManager = server.getPlayerManager();
<BUG>List<EntityPlayerMP> players = server.playerEntities;
playersWatching.addAll(players.stream().filter(player -> playerManager.isPlayerWatchingChunk(player, chunkX, chunkZ)).collect(Collectors.toList()));
</BUG>
return playersWatching;
}

return Collections.emptyList();
}
ArrayList<EntityPlayerMP> playersWatching = new ArrayList<>();
WorldServer server = (WorldServer) world;
PlayerManager playerManager = server.getPlayerManager();
List<EntityPlayer> players = server.playerEntities;
List<EntityPlayerMP> mpplayers = ((List) players.stream().filter(p -> p instanceof EntityPlayerMP).collect(Collectors.toList()));
playersWatching.addAll(mpplayers.stream().filter(player -> playerManager.isPlayerWatchingChunk(player, chunkX, chunkZ)).collect(Collectors.toList()));
return playersWatching;
}
